Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

0
votes
0answers
10 views

Some Images are not showing on attachment page?

I have a problem with images. I can see my uploaded images, as previously, through the media library. I can access each image by clicking on "edit". But if I then click on "View Attachment Page", ...
1
vote
2answers
20 views

Exclude JS file from 404 error page

I have a custom tracking system in place which works with an include of a .js file in the footer of each page. Unfortunately some high traffic sites are including images from my site which are ...
0
votes
0answers
22 views

URL rewrite_rule for GET parameters - Not Working

I want to add custom rewrite rules for my url having GET parameters on homepage e.g http://example.com/?jobs=1 should be http://example.com/jobs/1. Note: Get params can be string as well Well I have ...
0
votes
0answers
34 views

Display post date with the date archive link for custom post types

i have a custom post type and every single post it displays post date like 05 Jun 2019. i show this date with this code : <a href="<?php echo get_day_link(get_post_time('Y'), get_post_time('m'),...
1
vote
1answer
28 views

How do I redirect all 404 error url to Subcategory url

I have a b blog of over 200k+ post and I moved all post from a specific category to a subcategory, I have also deleted the post from the my main site, so all the post of that category have been moved ...
0
votes
0answers
17 views

How can I force Wordpress + React Router to soft 404 without modifying core? (So that it is crawlable by Google)

So I have been working on migrating one of my clients to a WordPress site. For the most part, the requirements of the site are pretty simple, but the site did need to have a fully custom faceted ...
0
votes
0answers
11 views

New page updating problem

i am working with WordPress and i am trying to create new pages problem is that the page get saved and i could see it in the page list but it can't be updated and i cant visit it later : when i tried ...
0
votes
2answers
29 views

Page editing in backend redirecting to 404 page not found with url /post.php

Today I migrated a WordPress site from another server to a new server, there is a new domain and new host, so I follow the manual way to upload my site. That was, I downloaded files and upload it on ...
0
votes
0answers
28 views

Enabling hierarchical in a Custom Post Type gives error 404

For a project I have a custom post type called Place. This custom post type can have a page as a parent, and that page can have other parent and so on. Place is always at the end of the sequence. At ...
1
vote
1answer
51 views

oEmbed 404 errors when trying to use embed block

When trying to add a Youtube Embed Block in the Gutenberg editor, I'm seeing these 404 errors in the browser console: GET https://example.com/wp-json/oembed/1.0/proxy?url=https%3A%2F%2Fwww.youtube....
0
votes
0answers
16 views

Another site within WordPress page, disabling 404 error for pages that exist but outside of WP system

TLDR; Is there a way to disable WordPress's 404 feature for certain pages? On one domain, I am running a WordPress site and, under the same domain, I am also trying to run another site parallel to ...
0
votes
0answers
12 views

Single post showing 404 not found page (permalink problem)

Using WordPress' default post type, I'd like everything to be filed under /blog/. For example: /blog/[parent category]/[child category]/[post permalink]/ Here's an example post: Parent category: ...
0
votes
0answers
18 views

WordPress Page Not Found

I migrated my WordPress website from an old hosting to Google Cloud and since there I am facing a problem with just one page that is redirecting me to Page not found (others pages work fine) When I ...
2
votes
1answer
23 views

Why specific file directory fails to redirect but its parent folder succeeds?

I activated multisite using subdirectories on my old WordPress site, and I created a new site (say my-example.com/new-site/). I found links such as my-example.com/new-site/wp-content/mu-plugins/css/ ...
0
votes
1answer
19 views

Error 404 using wpml plugin

I have a multi site in WordPress. I want to use the wpml plugin for the root site. The problem I encounter is that when I add a new language to the website, it does not recognize the second language ...
1
vote
0answers
60 views

Page preview is shown, updating page gives 404 error

I can add new pages and preview them, but once I upload them I get a 404 "Not found" error. I thought it's a problem with my permalinks, so I followed some tutorials to fix this like http://www....
0
votes
2answers
124 views

404 on pretty permalinks when serving via HTTPS

I deployed my wordpress site in Google Cloud Compute Engine. To enable SSL I followed the the steps outlined here https://www.onepagezen.com/free-ssl-certificate-wordpress-google-cloud-click-to-deploy ...
0
votes
1answer
36 views

404 error on published page with specific permalink

I am experiencing a strange error with my Wordpress install. I've got a dozen of pages, %postname% permalink structure, everything works fine. For one of the published pages, I reverted it to draft ...
0
votes
0answers
6 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
39 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
10 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
49 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
23 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
20 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
34 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
27 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
193 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
41 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. ...
0
votes
1answer
56 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
49 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
18 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
19 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
70 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
17 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
11 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 ...
1
vote
1answer
25 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
1answer
123 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
115 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
14 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
48 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
33 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
29 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
35 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
53 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
26 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 ...