Skip to main content

Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

docker + wordpress + nginx = intermittent 404

edit: fixed; answer below My Dockerized wordpress website is having reliability issues all of a sudden monitoring with uptime-kuma gives intermittent 404 errors accessing the root webpage after a &...
jotyhista's user avatar
0 votes
0 answers
21 views

Very strange problem with occasional 404 errors

I'm having a very strange effect on my website with occasional 404 errors. First of all: This is not a normal problem with redirect rules or htaccess. So please don't make comments like "check ...
Bert Kößler's user avatar
0 votes
0 answers
6 views

Trying WP editor to load full size image (not '300x300')

The site used to have a plugin that created a lot of image sizes from uploads (150, 300, 800 px etc). I removed these images from the uploads folder bc they were not used by the theme. Now, the WP ...
Ludo's user avatar
  • 61
0 votes
0 answers
22 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 ...
Adam's user avatar
  • 1
1 vote
1 answer
23 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 ...
challet's user avatar
  • 111
0 votes
1 answer
30 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 ...
Sevi's user avatar
  • 315
1 vote
1 answer
15 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 ...
Keanu1989's user avatar
0 votes
1 answer
76 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 ...
ajs_app's user avatar
  • 15
2 votes
1 answer
67 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 ...
CWeinhofer's user avatar
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 ...
Will Sher's user avatar
0 votes
2 answers
39 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, ...
user239138's user avatar
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 ...
Avi Rec's user avatar
0 votes
0 answers
41 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' => __('...
Waleed's user avatar
  • 1
0 votes
3 answers
248 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: ...
Mitch S's user avatar
  • 27
1 vote
0 answers
15 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 ...
ecotechie's user avatar
0 votes
0 answers
75 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/...
ejay's user avatar
  • 1
1 vote
2 answers
43 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 ...
Dylan's user avatar
  • 11
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 ...
Base's user avatar
  • 1
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 ...
Naren Verma's user avatar
0 votes
0 answers
13 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
hamouda chokri's user avatar
0 votes
0 answers
36 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 ...
mickburkejnr's user avatar
0 votes
0 answers
40 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 ...
srana's user avatar
  • 1
0 votes
0 answers
27 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 &...
Ayushvam's user avatar
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 ...
Kenzo's user avatar
  • 1
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 ...
Saad Ali Khan's user avatar
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 ...
Jfrobs's user avatar
  • 1
0 votes
0 answers
38 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, ...
deified's user avatar
0 votes
1 answer
201 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 ...
IVMC Peabody's user avatar
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 ...
Joel's user avatar
  • 121
0 votes
0 answers
118 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.'...
OCHOA's user avatar
  • 101
0 votes
0 answers
199 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) ...
user231091's user avatar
0 votes
0 answers
319 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 ...
JacobTheDev's user avatar
  • 1,231
0 votes
0 answers
30 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 ...
Hype Matrix's user avatar
0 votes
1 answer
623 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 ...
RedWebMan's user avatar
0 votes
1 answer
918 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 ...
sariDon's user avatar
  • 265
0 votes
1 answer
42 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 ...
Adnan's user avatar
  • 1
0 votes
0 answers
141 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'...
Hamza Zaheer's user avatar
0 votes
1 answer
110 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 ...
Eternal 's user avatar
-1 votes
2 answers
79 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. ...
ironman08's user avatar
0 votes
2 answers
24 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 ...
Scriptile's user avatar
  • 451
0 votes
1 answer
335 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 ...
PhpDoe's user avatar
  • 199
0 votes
1 answer
143 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 ...
baswijdenesdotcom's user avatar
0 votes
0 answers
58 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-...
Alex Flint's user avatar
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 ...
Life after Guest's user avatar
0 votes
1 answer
38 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 ...
Bipul Roy's user avatar
  • 101
0 votes
1 answer
433 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(...
Sandeep's user avatar
  • 177
0 votes
1 answer
28 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 ...
Ramon Ruiz's user avatar
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 ...
Ahmed C's user avatar
0 votes
1 answer
40 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 ...
Rao Talha Zahid Khan's user avatar
1 vote
1 answer
777 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 ...
Tom's user avatar
  • 11

1
2 3 4 5
19