Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 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
38 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
39 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
10 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
55 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
40 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
16 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
32 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
11 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
26 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
23 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
23 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
19 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
18 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
13 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
32 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
122 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
140 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 ...
Shoaib Saleem's user avatar
0 votes
0 answers
80 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
165 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
199 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,211
0 votes
0 answers
21 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
0 answers
25 views

Post pages are redirecting to the 404 page in wordpress

In my root folder, I have installed WordPress. Now I have created a resources folder in the root and installed WordPress in that too. I am able to login into the resources admin panel and created ...
user9437856's user avatar
0 votes
0 answers
41 views

Permalinks not working on debian with OVH

Hi, How to fix 404 errors from permalinks ? I tried to change https://website/?page_id=690 to https://website/salle-de-bain on my website. So I go on settings > permalinks and do a /%postname%/ ...
P W's user avatar
  • 1
0 votes
0 answers
62 views

Custom post type single page fine for admin, 404 from front

When logged-in I can open post type single page (mysite.com/evenements/sample-slug)), but the same URL throws a 404 page if I'm not logged-in Sometimes when logged in, I edit a given single page then ...
Sami's user avatar
  • 174
0 votes
1 answer
274 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
0 answers
47 views

taxonomy-{term}.php terms pagination returning 404 after a certain page

So my taxonomy-movies.php terms pagination returns 404 after a certain page, I've been sitting on this for like 3 days and still can't get answers from related question... So to give you guys some ...
agent abstract's user avatar
0 votes
1 answer
631 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
  • 255
0 votes
0 answers
22 views

Plugin Icon does not work correctly

When i click on the icon - nothing happens. Only 404 error appears. The menu is gone, i cant add new plugins. I don't know what the problem is?
Martina's user avatar
0 votes
1 answer
33 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
121 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
0 answers
15 views

Can't link to pages from Home Front Page now. Get 404

Can’t get to any pages from Home Front Page on the latest 6.1 WP on Linux Ubuntu 20.04 apach2 server. I get a 404. Maybe this will help to explain// The Front side I can get to the front page with ...
ozstar's user avatar
  • 1
0 votes
0 answers
81 views

"feed" added at the end of my URLs

In "crawled - currently not indexed" there are a few URLs that end with "/feed" resulting in a 404 error or a coded page preview for example "https://everyfootball.com/al-...
nimish's user avatar
  • 1
0 votes
1 answer
86 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
75 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
21 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
  • 391
0 votes
1 answer
214 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
  • 197
0 votes
1 answer
108 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
48 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
26 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
31 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
298 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
24 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
15 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
35 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
460 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
0 votes
1 answer
89 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 ...
Homtaro's user avatar
0 votes
1 answer
41 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 ...
Kunal Chauhan's user avatar
0 votes
1 answer
257 views

404/500 error on content images if Referer header is from another domain [closed]

Not very familiar with WordPress so I'm not sure what's causing this. Essentially, we have a few image assets stored under wp-content. When we access some assets (i.e. cmssubdomain.apex.com/wp-content/...
AnimaSola's user avatar
  • 113

1
2 3 4 5
19