Questions tagged [404-error]
a 404 error occurs when the requested page cannot be found
906
questions
0
votes
0
answers
19
views
Plugin Error - Not Sure Where to Go From Here
A while ago I was updating plugins for the site I work on, and the website encountered a critical error. Since then, the site and wp-admin has been non-functional. A visit comes up with this error ...
1
vote
1
answer
22
views
What is the correct url to request the 404 page?
I'd like to access the 404 page generated by wordpress through actually requesting it. It will need to be requested programmatically and I want to be sure it will always be the 404 content, so any ...
0
votes
1
answer
28
views
Show 404 when someone visits a non-existant Multisite site
If we try to access a non-existant Multisite site, e.g., http://site1.example.com or http://example.com/site1/, we are redirected to http://example.com/wp-signup.php?new=site1.
How to block this and ...
1
vote
1
answer
13
views
Custom Post Type - archive working - single is not
So I'm really at my wits end here. I'm trying to get the single page working for my custom post type. I've done it several times now, but right now its just not working (404 - not found). I hope I ...
0
votes
1
answer
66
views
Custom post type category pages pagination returns 404
I currently have the main posts archive page at /blog/ (custom permalink structure of /blog/%postname%/) and categories at /blog/category/ (categories base left empty so it defaults to this).
I have a ...
2
votes
1
answer
57
views
Multiple 404 Pages
Anyone know if it's possible to have multiple / different 404 pages for different purposes?
For example one 404 page for broken internal links (which presumably should be more apologetic) and a ...
0
votes
1
answer
25
views
Redirection - bulk edit 404s to new tomain
Please help. I moved all (1500) posts from one category to a new domain. now I have a lot of 404 errors for posts and images.
Trying to use Redirection, so I'm on the 404 page, bulk edit select all ...
0
votes
2
answers
36
views
All WP pages direct to 404 or index.php
I made a basic site based off the underscores (_s) theme with a CPT/taxonomy, Advanced Custom Fields plugin, and 3 page templates. A simple site. Nothing out of the ordinary.
For some strange reason, ...
0
votes
0
answers
10
views
Unwanted redirection to homepage after turning taxonomy to 'public'=>false
I have in my site (a site with Elementor, if it's matters) taxonomy 'aaa' with taxonomy term 'bbb'.
When I registered this taxonomy, it was set to 'public' => true.
Now I changed this setting, so ...
0
votes
0
answers
40
views
Cannot create custom post types with a specific name
I am creating custom post types using this code
function create_custom_post_type() {
register_post_type('courses',
array(
'labels' => array(
'name' => __('...
0
votes
3
answers
133
views
Custom Post Types, Single Posts returning 404 Errors - flushing permalinks does not correct
I have a website that, using ACF Pro, I have created several Custom Post Types (CPTs) for. All using ACF Pro. Of them, 6 of the CPTs are showing fine with the archive and single templates. They are: ...
1
vote
0
answers
14
views
Redirect a 404 to search for the term but keep the 404 status code before the redirect
I am trying to setup WordPress to do an automatic search when there is a 404. Attempting to provide pertinent content that may have been missed.
However, I would also like to trigger the 404 code ...
0
votes
0
answers
68
views
WP Category Archive /page/2+ pagination issue 404
Encountered an issue when navigating to archive pages within a category after page 1 of the results via pagination. This is the standard WP categories and not a custom query.
Working: /category/...
1
vote
2
answers
42
views
Redirect of specific words in URL ahead of website migration
I'm migrating my website from Squarespace to WordPress and wondering if I can get ahead of the one thousand+ 404s I'll hit by setting up something to redirect specific keywords to remove them.
The old ...
0
votes
0
answers
18
views
Post type gives 404 unless logged in
My custom post type gives a 404 (slug translated by WMPL), unless I login to the admin.
Then it works again for several days (it seems), just to become 404 again.
Login in again (without doining ...
0
votes
0
answers
45
views
All Pages and Post are redirecting to 404 Not Found in wordpress
I am using wordpress, I have created 3 pages and 4 posts on my website. I am able to access the front page but the rest of the pages are showing 404 not found, Same for post also.
If I use some logic ...
0
votes
0
answers
12
views
Void in the end of my links
Please i have two problems with Google search engine with about 1700 404 Error
1.i have links that ends with the void()
and links that ends with /feed
Please some help
0
votes
0
answers
35
views
Categories & Tags created with the REST API returning 404 when viewed
I have software that pushes content to my WordPress website using the REST API. Part of the process creates tags and categories for the content if they don't exist already, and retrieves the IDs of ...
0
votes
0
answers
38
views
Get 404 when using url parameters to filter custom post type archive page created with wp bakery post grid
I created a custom post type named tutors_quiz than I create custom taxonomy named tutor-quiz-tag.
I create an archive page with wp bakery post grid. screenshot https://prnt.sc/VdvDp9-ekt3c
Now I want ...
0
votes
0
answers
26
views
How to Show Standard Post and Custom Post in Same Section at Homepage?
I'm trying to show both my standard posts and custom posts on my homepage. I've got the following code working, but it's causing a 404 error if I assign a custom homepage. If I keep the setting of &...
0
votes
0
answers
20
views
How do I fix a permalink that keeps adding an extra part on the end and leading to a 404 error page?
I have a permalink that looks perfect but when it's clicked on, it adds an extra section to the link and takes you to 404 page not found. I don't know why this is happening or how to stop it.
This is ...
0
votes
0
answers
23
views
Wordpress is overriding 404 page of parent directory
I have a WordPress blog in subdirectory like this example.com/blog/ which has its own 404 page.
Now, problem is that 404 page of WordPress blog is overriding 404 page of main site example.com and ...
0
votes
0
answers
18
views
Post Submissions and 404 error => Fix update the post
i used Wpforms plugin for do a post submissions on Event Calendar Plugin.
For some time now, I don't know why, but all the forms posted in the Event Calendar that are properly listed are showing me a ...
0
votes
0
answers
37
views
Wordpress 301 Redirect not working
Problem:
There is a dulicate site that is still referenced in some sites maybe, is there way to check the ingoing links to that site?
I have a new site, that shall be online, and it is in some places, ...
0
votes
1
answer
174
views
404 Error after URL update
I changed our company domain name and now all i get is a 404 error.
I have updated the option table in phpmyadmin as well as updated apache2 conf.
Where else do I need to change the info for this to ...
0
votes
1
answer
28
views
How to navigate to a non-wordpress page in a wordpress install without getting a 404 error?
I am trying to set up MAMP Pro to be able to import my live wordpress site to my localhost. I'm having issues, and MAMP provides a test file to upload and you can navigate to it and it will tell you ...
0
votes
0
answers
231
views
Critical error on woocommerce checkout page
I am facing an issue on my website. I am using woocommerce plugin with stripe payment method to checkout. I can checkout successfully on desktop/laptop and after that I can see Thankyou page.But when ...
0
votes
0
answers
114
views
How to include a php file in 404.php file?
I have created a log to track some attacks on a website. At the moment I have included it directly in the 404 file like this:
<?php get_header();
global $porto_settings;
require_once(ABSPATH.'...
0
votes
0
answers
192
views
Single custom post type page redirect to 404 page
Helo,
i am trying to convert some posts to new custom post type. Then i get an error.
Special at my wordpress-installation:
I have categories and pages with the same slug. For example:
/state/ (page)
...
0
votes
0
answers
273
views
/wp-admin/plugins.php takes ages to load, and then 404s
On one of our clients websites, when you try to view the "plugins" page in the back-end, the page loads for several minutes, then returns a 404 (using the WordPress 404 template). This is a ...
0
votes
0
answers
28
views
Redirect certain 404 pages to parent page
I'm getting a lot of "Not found (404)" errors in Google Search Console when users delete listings on my website.
Does anyone know if it's possible to redirect certain 404 pages automatically ...
0
votes
1
answer
495
views
How to disable WordPress canonical redirect to nearest matching URL and force 404 Page?
WordPress appears to rewrite URLs, displaying Pages under the incorrect URL.
Example. I have a page called "Emotion" with the slug /emotion/
On the front-end it should appear as the ...
0
votes
1
answer
827
views
Custom post type REST api 404: Updating failed. No route was found matching the URL and request method
I have registered a new post type as:
$this->sconfig= ['post_type'=> 'event', 'slug'=>'events'];
add_action('init', array($this, 'register_event_posttype'));
and
function ...
0
votes
1
answer
41
views
404 Error on a WordPress Website, Error disappears for a while and again appears
On website revel.pk, I am facing 404 Errors from last night. The error disappears for a while and again appears. I noticed that when the website is facing an error I just go to the permalink setting ...
0
votes
0
answers
133
views
I'm getting a 404 NOT_FOUND CODE: 'DEPLOYMENT NOT FOUND on wordpress multisite installation on my sub domain
I Installed multisite on localhost installation of wordpress. After installation it gave me the below code snippet to add in wp-config.php file:
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL'...
0
votes
1
answer
99
views
redirect to 404 page
I am using kadence free theme, and I need to get rid of some of my pages.
However because they are already indexed I can't simply delete them. so, i was thinking of doing a 404 redirect.
so, the idea ...
-1
votes
2
answers
78
views
Unidentified 404 error [closed]
I have created a new WordPress site and installed rank math for SEO. In 404 Monitor, I am getting some logs, but I couldn’t understand after making research what that means and why is this happening. ...
0
votes
2
answers
23
views
Wordpress Site transfered to another Server. 404 all pages
I transfered a Wordpress page to new Server, and now all pages are 404.
I tried this solution https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-posts-returning-404-error/
but still nothing ...
0
votes
1
answer
307
views
How to debug a 404 error on pages whose content is perfectly displayed when I explore it?
I have this issue I can't understand : recently (everything was working perfectly during years), some pages on my website are returning a 404 error while I can perfectly access to their content (even ...
0
votes
1
answer
132
views
Can you redirect a 404 to a WordPress page and still show response code 404?
As the title says, I would love to know if its possible to redirect to a WordPress page when an url is not found, but show a 404 response code on that page?
I've been playing around yesterday with ...
0
votes
0
answers
56
views
Getting 404 when static files have "?ver=x.y" suffix
I am running wordpress 6.0.3 under apache using the official docker container. I have a clean install with no themes or plugins added. The following gives me a 404:
curl http://localhost:8080/wp-...
1
vote
1
answer
29
views
Custom Post Type, 404 error
I created a very small plugin using a Custom Post Type.
This is NOT a commercial or publicly available plugin, only my website is using it.
What happens:
when I click the name of a user who posted a ...
0
votes
1
answer
33
views
Page not found: Custom search form with a custom search page
Let me show you an example of what I'm trying to achieve. On BBC website when you click the search BBC button on the navbar it brings you to a search page (https://www.bbc.co.uk/search). When you put ...
0
votes
1
answer
408
views
404 page is not the same when using PHP code in functions
Based on a condition I want to show 404 page and I have the following PHP code in functions.php
function wpse91900_force_404(string $template): string {
global $wp;
$current_url = home_url(...
0
votes
1
answer
25
views
Problem with custom loop navigation inside the blog page
I have a problem I am not able to solve. I have a custom theme with some custom post types and I need to display an archive for all CPT somewhere in my site. After some reading, I decided that the ...
0
votes
1
answer
18
views
Wordpress broken after vhosts setup
I am working locally with wordpress installation using Xampp,
after using vhosts and changing wordpress options home and siteurl to wordpressurl.site , my website has been broken stylesheets and ...
0
votes
1
answer
39
views
Site is working but we got 404 not found error in wordpress
I have a wordpress site hosted on AWS. Site is working fine but I'm facing an issue. When the page loads, we get 404 not found error for that link in console first. It is happening on all the pages ...
1
vote
1
answer
627
views
404 error comes up when I go to wp-admin after first installation [closed]
I just installed wordpress for the first time. When I go to mywebsite.com/wp-admin a 404 website error comes up. I went through the routine of changing the plugins and themes names although I never ...
0
votes
1
answer
92
views
Custom taxonomy throw error 404
So in my homework I was given code example and it works for teacher, but not for me. So from what i understand that I'm creating custom post type and custom taxonomy for it, also there is filter that ...
0
votes
1
answer
43
views
Reciving Error 404 blog/page/2/
I can't seem to understand the issue here with my pagination? when visiting /blog/page/2 page goes to 404 page. Help me guys?
<div class="row">
<?php
...