Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

0
votes
0answers
4 views

Wordpress Homepage is working fine but Inner pages giving 404 Error after shifted to AWS server [duplicate]

After shifting Wordpress site from Linux server to AWS server, inner pages is giving 404 error while Homepage is working fine. For example when we hit /Our-services or /about-us pages it gives error ...
0
votes
1answer
16 views

Wordpress Inner pages giving 404 Error after shifted to new server

When we made site at our server end it was working fine which was linux server.after hosting this site to AWS then it is giving me error for inner pages and if we change something it is not affecting ...
0
votes
0answers
8 views

Updraft Backup is breaking my site and turning all URLs to 404 errors?

I was getting this weird error where all my pages would give 404, obviously a massive nightmare for SEO. I fixed it by disabling all plugins, then turned them back on and resetting permalinks by ...
0
votes
1answer
35 views

removed index.php now all pages 404

I added this code to my .htaccess file to get rid of index.php, but now all the pages 404 (the hyperlinks are mapped to the correct url) # BEGIN WordPress <IfModule mod_rewrite.c> ...
0
votes
1answer
18 views

Since moving HTTPS using cloudflare, the admin and login pages no longer work

Recently routed our site through cloudflare as part of moving to HTTPS. All the pages work apart from the administrative pages for which we get a 404 error. I don't really know what is causing the ...
-1
votes
1answer
17 views

Please Help me with Archive 404 Pagination

When I click on page 2, there is a 404 page. How could i fix it ? This is my pagination on archive.php <?php global $query; $big = 999999999; // need an unlikely integer echo paginate_links( ...
0
votes
1answer
13 views

Why am I sometimes getting a 404 error when I try to update a page with Elementor?

When updating a page with Elementor, we're occasionally receiving a 404 error. Most of the time we can update the page just fine, but when we try to add a <script> tag or a button with a custom ...
0
votes
1answer
21 views

Pages counts are showing in WordPress backend but pages shows 404

I'm using WP latest version and suddenly I saw today all of my pages are shows 404. It's working fine till yesterday. Here are screenshots that what happens to me. What I have done : All plugins are ...
1
vote
2answers
25 views

Should the actual /category/ directory be 404? Is that normal WP behaviour

I'm not sure if this is 'normal' but on my WP install the actual directory for 'category' throws a 404 error. So, for example, if I had a category called 'apples' then every post or page associated ...
0
votes
1answer
81 views

<!doctype html> : Failed to load resource

I am using the code below: <!doctype html> <html lang="<?php language_attributes(); ?>" dir="ltr"> <head> <meta charset="<?php bloginfo('charset') ?>"> &...
0
votes
1answer
32 views

Custom post type permalink returns 404 when set to private

I have a custom post type that is configured to use a permalink structure prepended with the post type name. When using get_permalink(), the URL that is returned does not include the post type name. ...
-1
votes
0answers
17 views

Multisite 404 error when clicking dashboard

Thanks for advance in any help you offer. I am experiencing an issue with my new multisite in which when I go to the multisite tab at the top of the admin side of the site and click on dashboard for ...
0
votes
0answers
20 views

I couldnt find any working method to remove old slugs [closed]

I have a really frustrating issue that one of my links constantly redirect to old permalink that I have deleted and I got TOO MANY REDIRECT error aka 301 on google chrome I tried 3,4 different ...
0
votes
1answer
15 views

404s after changing site url in settings

I was working on my Wordpress site (hosted on DigitalOcean) using the ip address as the website address. I decided to change the address to my domain name so I went into settings and updated the ...
0
votes
0answers
38 views

Display a custom 404 page without a redirect

In a plugin I want to display a specific page without redirecting (and thus without changing the URL) like the plugin https://wordpress.org/plugins/404page/ does. I can capture 404s and redirect them, ...
0
votes
0answers
17 views

Standard Page Child of CPT Not Found (404)

I am about to lose my mind figuring this out. I have a custom post type called "portal" and posts of that type can be the parent of a standard page. To accomplish that I've written code that adds the ...
0
votes
0answers
15 views

Permalink issue with Wordpress Site at domain root and another Wordpress Site in a Subfolder

If you look at my site: https://alphahedron.com/ You will see a functioning wordpress site (although not configured yet). If you go to one of my subfolder sites: https://alphahedron.com/game/...
0
votes
0answers
28 views

htaccess redirects invalid request to home page not 404

Trying to work out how to get Wordpress / .htaccess to show a 404 error page for invalid requests. With a default WP .htaccess file a request like https://example.com/?exam=testing.html will ...
1
vote
0answers
29 views

Built-In Postname Redirection vs Hard Redirects in relation to SEO and performance

It seems that many Wordpress users, even very experienced ones, aren't aware that, in normal circumstances, with pretty permalinks enabled, an inexactly written or superficially non-matching URL will ...
0
votes
0answers
20 views

Custom Post Type Front Page Gives 404

I have developed a plugin on one site and just now moved it to another. At start I had that problem in the initial site too. Saving permalinks again solved it in the initial website. I then moved it ...
0
votes
0answers
16 views

Access non-wp .php file on Wordpress subfolder

I have the following .htaccess for my wordpress / bedrock installation: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /mysite/ RewriteRule ^index\.php$ - [L] ...
0
votes
1answer
9 views

Function for Sticky Post on Categories causes issues with 404 behavior

I want to how sticky posts on category pages and I am using a code on my function.php file in order to manage it. The sticky posts are being shown on the category pages, everything is OK. But with ...
0
votes
1answer
20 views

Using taxonomy term in CPT permalink – Pages 404's

Having some issues with creating the permalink structure that I'd like. Found a piece of code on Stack Exchange, which unfortunately I cannot locate right now. I have a CPT called project and I want ...
0
votes
0answers
24 views

How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?

I can’t find a solution — unification of url bases of products and categories in woocommerce. I have found only one working solution: In Settings -> Permalinks: Category base change on shop Custom ...
1
vote
0answers
48 views

Repeating admin-ajax.php not found error in admin

I seem to be getting a repeating 404 error in the Chrome console when in wordpress admin very occasionally it gets marked as a 500 error for the same line, perhaps is something to do with an ...
0
votes
1answer
12 views

404 page not found - Yet open admin page it works

Having a weird problem on a new site we are putting together. Everything is working OK with one exception - one page always returns a 404 page not found. In the admin pages, if the page is veiwed or ...
0
votes
0answers
27 views

How to add a full working piece of website already coded, to a large scale Website design project?

I've written 5 PHP files each of which are dependant of each other and contains one style.css also. This whole project works fine when executed alone and includes home.php which includes HTML code for ...
0
votes
1answer
34 views

Assign Parent Page - Now 404 Error

The strangest thing is happening. I have a page that I want to assign a parent page to. When I assign a specific parent page to it, then the page shows a 404 error. Here is the weird thing, this ...
0
votes
1answer
19 views

Page 404 Error on Localhost

I am currently working on my localhost and the problem is that all the wordpress related urls would direct me to error 404 page not found but somehow i can still access my website which still ...
0
votes
0answers
16 views

All Post Wordpress Page Error

I set up the number of elements per page in the Wordpress "Post" page in 999 (max) because i have more than 4k post but since i did that every time I want to go to the page and see my post i'm ...
0
votes
1answer
27 views

Dynamic 404 page content while still keeping 404 status code?

I used Divi to build the layout for a custom 404 page. I'm using this plugin https://wordpress.org/plugins/redirect-404-error-page-to-homepage-or-custom-page/ to redirect 404 errors to this page. It ...
0
votes
1answer
27 views

Unable to declare AOS library in functions

Greeting WP Devs, I am planning to transfer the script libraries in my function.php . In my function.php I registered AOS function mypage() { if ( is_page( 'mypage' ) ) { wp_register_script( '...
0
votes
0answers
51 views

Permalink structure custom-taxonomy-slug/cpt-slug breaks ability to have subpages and pagination (404 error)

I took over a WordPress project from another programmer, who wrote code to create the permalink structure "custom-taxonomy-slug/cpt-slug", the custom taxonomy is "city", the cpt is "restaurant", so ...
0
votes
2answers
15 views

How to convert multisite subdomain from http to https

I have created a WordPress multisite on the primary domain alaksns.com which is secure with ssl certificate. Then I added a new site as blog.alaksns.com which only works when accessed with http ...
0
votes
0answers
51 views

add_rewrite_rule() returns 404 page

I'm using add_rewrite_rule function to add this rule: function custom_rewrite_rules() { add_rewrite_rule( 'category/books/crime', 'category/books/?filter_category=crime', ...
1
vote
0answers
26 views

permalink structure postname and wp internal routing (301 vs 404) [duplicate]

I don't understand the following behavior: to verify, I have a fresh default/standard wp installation (no themes, no plugins) I change in settings the permalink structure to "post name". I create ...
0
votes
1answer
21 views

wp-admin throws 404 when accessed from some IPs

When I am trying to access wp-admin I am getting a 404 page for some specific internet connections on some days. I have tried deactivating Jetpack, that did not solve the issue. Except for Jetpack I ...
0
votes
0answers
16 views

I'm Facing unnatural 404 error: The requested URL /readme.html was not found on this server

All files are working for a moment but when I refresh or head over to other pages site facing 404 error. But when I refresh it for 3-4 times then it works fine as natural. For eg: if you head over to ...
0
votes
0answers
36 views

PageNavi redirects to 404 when used as archive page

I'm using a page as archive for a custom post type called event. register_post_type('event', array( 'labels' => array( 'name' => 'Événements', 'singular_name' => '...
0
votes
2answers
56 views

wp-login not found - All usual solutions not working

A new client of me can't login to his old(er) Wordpress website: wp-login gives a 404 error and wp-admin gives a 500 error. Here are the links (removed) I came across this issue before, but this ...
2
votes
2answers
34 views

HTAccess stops me from accessing WordPress Dashboard links

I have a WP site which I have not looked at for a while. I have just logged in to update aspects of it, including WP itself, now on 5.0.2. Now if I click on any of the Dashboard links - Posts, ...
0
votes
0answers
37 views

WP url showing as _trashed can not find or delete

I have two "About" pages showing through a google search for my site, one works as it should and the other comes up as 404 page not found. The url shows as: http://www.larascarr.com/about__trashed/...
0
votes
1answer
38 views

404 on CSS and JS only on Homepage

I had to use a backup of the website and on restoration the Homepage has 404's to all JS/CSS files Every other page is accessible and does not experience the issue I've checked the permalinks, I've ...
0
votes
2answers
191 views

404 Not found error after update to WordPress 5.0

I have a WordPress website which was working good before WordPress 5.0. after update to WordPress 5.0 I get an 404 error on loading resources. style.min-rtl.css:1 Failed to load resource: the server ...
0
votes
0answers
53 views

Sometimes I am still getting 404 error if I call add_rewrite_endpoint & flush_rewrite_rules on activation / deactivation hook

I need to add a custom tab to my woocommerce my account page, so I followed this article: https://github.com/woocommerce/woocommerce/wiki/Customising-account-page-tabs#creating-new-endpoints /** * ...
0
votes
0answers
25 views

How to set up permalink after migrating to another server?

After i migrate from one server to another, i can only set the permalink to plain setting. Whenever i try to change to other custom setting, it doesn’t work. I always see the “ERROR 404 – PAGE NOT ...
0
votes
0answers
9 views

Indexed default page Google

I have this url https://inka-yume.pe in Wordpress, when you search it on Google the page appears like https://inka-yume.pe/wordpress/ and if you enter into it, is showed the 404 error. This is the ...
0
votes
1answer
29 views

404 on internal pages, in all sites in my local server

I have a local Apache server, with module rewrite loaded, all my Wordpress files in this server fail to find internal pages whenever permalinks options are set to something different than simple. ...
-1
votes
2answers
125 views

Theme making direct ajax calls to theme folder

So, I'm using a wordpress theme (unfortunately, I'm not able to get support for the theme any longer), and it has a contact form that makes a direct ajax call to a php file in the theme's "includes" ...
0
votes
0answers
17 views

Returning 404 in case of /?p=randomstring

Wordpress at the moment return a random page when visiting, for example, https://www.examplewebsite.com/?p=bdmvxmqa How can I force it to return a 404?