a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
14 views

Permalinks broken regularly

On one of my sites the permalinks are broken regularly. After saving them again it's all fine but a few days later the permalinks result in not found and I have to save them again. There are no ...
0
votes
1answer
13 views

404 Page not Displaying

I have a theme and it has a file "404.php" inside it. As I read on the documentation of the 404 Page for wordpress this file is needed. We I miss spell the url on my site the 404 Page must display but ...
-1
votes
0answers
17 views

Staging server home page defaults to search.php

Slightly odd situation. We have 3 servers, Local, Staging and Live. Same code on all servers. The database on Local and Staging is just a copy of Live but with a serialized-friendly Search and ...
0
votes
2answers
19 views

Copying live site that is using older version of WP to localhost

I'm trying to make a copy of my live site that is running an old version of Wordpress to my local server, but I'm not sure how to go about this. I followed this tutorial, but when I go to http://...
-1
votes
0answers
12 views

Return 404 for /search/ queries - For Genesis

I just realised that a Wordpress search can also be accessed as http://www.example.com/search/any-search-query. Earlier I thought, search URLs for Wordpress can only be accessed as example.com/?s=any-...
0
votes
1answer
24 views

How do I redirect a permalink for a Draft post to a custom 404 page?

My users create posts with links to future posts which are in Draft status. We use Post Name as our permalink structure. Eg. <a href="/future-draft-post">Here is our next fantastic post ...
-1
votes
1answer
37 views

How to Redirect Url to homepage?

For seo based this 4 url display 404 page. Now we wants to redirect on homepage but my htaccess rule not working. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{...
1
vote
0answers
23 views

Edit page slug after save, cause 404 by linked pages

I have two page bar page at url: http://www.example.com/bar/ foo page at url: http://www.example.com/foo/ bar page link to foo page in content, eg.: <a href="http://www.example.com/foo/">...
0
votes
1answer
24 views

Link to WP-CONTENT not working

We have a couple PDF files that are included in our WP-CONTENT folder which the links are not working. Trying to debug I created domain.com/wp-content/test.php and when I point the browser to this ...
0
votes
0answers
20 views

All CSS and JS files in plugins are 404'ing in my console

I've got a problem with a site I am rather baffled by. All the plugin files CSS & Jquery files are showing as 404 page not found in my console and I can't figure out why. It's causing these ...
0
votes
0answers
17 views

Wordpress scripts keep indexing and being crawled while giving 404s edit: Solved

Hey so I'm having an issue with wordpress right now I'm getting about 53 404s on one of my sites (it's happening to a few others) Where a weird url is being crawled that should not be crawled or seen....
0
votes
0answers
37 views

WordPress thinks my custom route is a 404

I created a plugin that sets up a custom route and then loads a template file for that url. Everything works fine, except that WordPress seems to think it's a 404 even though it's correctly rendering ...
0
votes
0answers
29 views

Can a specific cpt and normal page exist within the same virtual directory?

I've created a cpt of 'channel' (with a slug of 'channels'), and new posts add/display as expected. But an existing normal page at /channels/, which contains a 'we have multiple channels' intro/...
1
vote
0answers
17 views

Images attached to posts from library link to 404 error page

Just building a theme but I am stuck with attachment images. When I add images from the library to posts (or pages) and link them to the "attachment page" I get a 404 error. The link is like "http://...
0
votes
1answer
53 views

How to solve 404 permalink errors on nginx server

I can't solve this issue. I tried everything I found over the web. I first tried configuring my nginx.conf following the example on codex with no success. https://codex.wordpress.org/Nginx I found ...
0
votes
1answer
26 views

HTTPS permalinks resulting in 404

Migrated the site from http to https.The homepage is working fine the but other page(archive,single,page) templates are resulting in 404. Here are the steps while migrating.Could anyone please point ...
0
votes
1answer
12 views

Scheduling publish of a new version of existing page results in 404

The best way I can explain this is: I have an already published page (version 1), which I make edits to and want to schedule the new version (version 2) to be published at a later date. When I ...
0
votes
0answers
21 views

Migrated wordpress site to AWS, but strange problem

I have successfully migrated my wordpress site to AWS, the site loads and everything seems to be there. However, when I click on some links on the front end that load up different page-templates I get ...
0
votes
1answer
41 views

Some links broken after updating Wordpress version

first post on here so go easy :) got a problem with a wordpress site (custom theme) http://expressduplication.co.uk which was built a few years ago by a company we are no longer able to get in touch ...
2
votes
0answers
38 views

Using a custom field value to redirect away from a 404 page

I’m moving from an old CMS to WordPress. The old articles are saved as posts and the new WordPress permalink is %post-id%. The old URL slug is unique and saved as a custom field for each post; the ...
0
votes
2answers
45 views

Video Background - (php & css) - generating 404 error on page load - Wordpress Theme File Structure Help

So i spent the entire day yesterday trying to achieve a full width responsive background video inside of a custom wordpress page template. This is the bg-video code added to landing.php (my future ...
0
votes
0answers
43 views

Custom Permalink Structure: /%custom-taxonomy%/%post-name%/

I would walk to the moon and back to get to the following answer. I've searched the internet for hours but couldn't find how to fix the following. I've created a custom post type and a custom ...
1
vote
1answer
44 views

Remove Parent Category from Child Category URL

I am trying to remove parent category from the child category but each attempt returns a 404 error. Main Category Link (Displays All India Recruitment) Child Category Link (Displays Sub-Category) ...
0
votes
1answer
17 views

Category page returns 404 error

I'm developing custom theme that should show all categories on a single page in /category path. When i navigate to /category/some-category, i can see all posts that belong to that category, but when ...
0
votes
1answer
39 views

Unable to get /%postname%/ permalinks working, 404 on all links

I have only pages, no posts as links. It's just a mock site at the moment. I used a particular theme, set it to "Post name" permalink, and the links worked fine. But then I changed to another theme (...
0
votes
0answers
27 views

Removing subfolder vs htaccess without causing 404 pages

First of all just want to say spent the last 5 hours reading other stackxchange links and Google before giving in to ask. I'm using a plugin JS Support Ticket that adds a slug to the URL in this ...
0
votes
0answers
42 views

404 error when save changes any option in wp admin

As the title, i keep getting 404 error everytime i save an option in wp admin. It happens to update post/page too. I have tried deactive all plugins but it didn't help. Could anyone help me fix this ...
0
votes
0answers
351 views

Pretty Permalinks don't work since 4.5 upgrade

Prior to two days ago, the site was working perfectly fine. Now after the upgrade to 4.5, all sub-pages (Pages, Tags, Categories etc) are returning 404 errors with the same theme as my site. If I set ...
0
votes
0answers
71 views

Custom post type category pages return 404

I have created a custom post type using the following code and its working but i get a 404 error when accessing the category pages. function services_init() { $args = array( 'label' => '...
3
votes
1answer
83 views

Pagination gives 404 in template

I have a page in 'Pages' called 'News'. This page has a template containing my paged custom WP_Query. Here's the code: <?php $paged = 1; if (get_query_var('paged')) { $paged = ...
0
votes
1answer
34 views

Only on 404 page, get notice: trying to get property of non-object on nonce

I am using a WordPress plugin. Everything work fine. Exect when open a 404 page, I got this notice: Notice: Trying to get property of non-object in D:\MYWEB\InstantWP_4.3.1\iwpserver\htdocs\...
0
votes
2answers
49 views

Page not found but cannot make a new one because the slug is already there

I have wordpress site where I have this url: site.com/my-post this post is a page. But when i go to that page I gives me a 404. I can't find the page anywhere in my admin. But When I try to create a ...
0
votes
1answer
151 views

Single custom post type page redirecting to 404 page

I have declared post type as below: $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, '...
0
votes
0answers
29 views

bbPress 404 for non-logged in users - Need redirect to login page

I've got a bbPress forum (all forums are private) and am using a plugin that notifies users of new posts within the forums. The problem is that when a users clicks on the link in the email, they are ...
0
votes
1answer
33 views

Custom Taxonomy Archives Page Errors

I have successfully created a custom taxonomy 'Authors' for quotations by adding the following code in my child theme's functions.php: /** * Add custom taxonomies */ function add_custom_taxonomies() {...
0
votes
1answer
38 views

LetsEncrypt WordPress on the Raspberry Pi - Nice url's give 404 with https, http works

I setup WordPress on my Raspberry Pi and used LetsEncrypt to secure it. The HTTPS links will work with Post ID permalinks. They return a 404 when I change the permalinks to anything else. Here is my ...
0
votes
0answers
103 views

Nginx 404 error with permalinks

I've been trying to figure this out for days via google, but none of the solutions have worked. I'm running Nginx on a DigitalOcean droplet, newest version of Wordpress, and I'm getting 404s when I ...
0
votes
0answers
70 views

Blog Posts and Woocommerce Pages Return 404

I have a WordPress site on localhost, the blog post pages and Woocommerce products return 404 when I have friendly URLs turned on: http://localhost:8888/site.co/example-post/ But when I have it off:...
0
votes
1answer
17 views

Post added by PHP redirects to 404 [closed]

On my blog on http://www.hoopsgifs.com/ you can see the few posts I added. They are aaded via PHP. The stragen thing is when I click on the post it does not open the post. The same happens if I ...
0
votes
0answers
19 views

Getting 404s in wp-admin after logged in

I'm successfully able to login but the links point to 404s until I correct them manually. Here's the step by step scenario: Visited wp-admin/wp-login.php and login successfully say the dashboard ...
0
votes
0answers
41 views

How to remove CPT comment feed from head?

In a custom post type I have set has_archive to false. In the head of a CPT page however I still find a link to a feed like this: <link … title="Page Title | Comments Feed" href="domain/cpt/slug/...
0
votes
1answer
90 views

Wordpress subfolders htaccess bypassing the root htaccess RewriteRule

I have hosted many domains at my GoDaddy hosting. There 'example.com' is my primary domain and its WordPress files are in folder 'web_example' situated at root. There is a .htaccess file at root to ...
0
votes
0answers
90 views

404: Object not found

I've been creating a wordpress site on my laptop (ubuntu 14.04) using xampp. The site has previously been working fine on my laptop, with a self signed SSL certificate, however after making a few ...
-1
votes
1answer
21 views

Woocommerce 404 after chang default language

After change default language in Woocommerce from Dutch to English I get 404 errors. I also have installed latest version of WPML. 3 Languages are active: EN - NL - DE. When I edit a link to open an ...
1
vote
1answer
56 views

Pagination causes error 404 when used with front-page.php

I am creating front-page.php. This page will display the latest featureed posts, and will also have pagination option to go to the previous featured posts. I wrote the code for frontpage as follows $...
1
vote
0answers
46 views

Attachment page 404

After I uploaded some files into the Media Library, I clicked "View attachment page" in "Attachment Details", but I got a 404 not found error. The URL is like http://example.com/filename/ and there is ...
1
vote
0answers
35 views

Display child pages on parent page: 404 message overrules shortcode in page

I am trying to get a page to show a list of the child pages. I am using the Foodie Pro theme on the Genesis framework. I am using the following code to do so: add_filter('the_excerpt', 'do_shortcode'...
1
vote
0answers
64 views

wp_remote_get() not retrieving pages properly

I am using wp_remote_get() to retrieve different pages from the web. It is a news site. Most of the time, this works successfully. However, sometimes, the request returns either: bad request (code ...
1
vote
1answer
87 views

Intermittent 404 errors, rewrite rules, and BBPress

I am trying to debug an intermittent 404 issue that may be related to BBPress. I’ve read several other reports about intermittent 404s and BBPress, but none of them are exactly applicable to my ...
2
votes
0answers
62 views

Does Wordpress contain “default” anti-SQL injection code that responds with a 404 error?

I've been through the “seven layers of the candy cane forest” on this one… :) Our plugin receives data via a POST request. On a particular site that has our plugin installed, we observed odd ...