a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

1
vote
2answers
302 views

Why do I have a weird rendering issue only on 404.php caused by wp_nav_menu?

I built a navigation menu using the native menu builder in WordPress 3. This is the code I use to render it: <?php wp_nav_menu( array('menu' => 'Main Navigation','menu_id'=> ...
1
vote
4answers
3k views

Category page for custom-taxonomy shows 404 when using custom permalink structure

I'm having a small issue with category pages for a custom taxonomy when custom permalinks are used, and I was wondering if someone might be able to help out and point out where I'm going wrong. I've ...
0
votes
3answers
4k views

WP-PageNavi gives me a 404 when using WP Query

I see that there are a lot of similar questions here at WPSE, and I've tried many of the suggestions mentioned trying to solve my problem but with no success. I have a category called News. In this ...
6
votes
2answers
2k views

How to Change 404 page title

i have try many methods after searching on internet but unable to ramove Nothing Found from my 404 page title how to do it please help me even i have us this in my 404 page header if( is_404() ) ...
0
votes
1answer
368 views

Google 404 Errors

It seems Google Tries to crawl pages I never created and gets a 404 error, but it thinks or maybe somewhere in my code, google thinks there is a second page. For example, I have this page ...
0
votes
1answer
1k views

Prevent 404 of Author pages without posts

How do I prevent author archives without posts from 404ing?
0
votes
2answers
4k views

Permalinks on post is working, on pages 404 error

I am having troublle with setting my permalink in wordpress site. I changed the permalink from default to custome : %postname%. In this case my posts are working perfectly, but the pages are not. ...
0
votes
1answer
57 views

Need help with major category and permalink re-organization

I would like to re-organize my categories and the permalink structure. I want to rename and merge categories, make previous categories sub-categories and change the permalink structure from ...
1
vote
1answer
394 views

Why are 404s not triggering my 404.php template?

404s are not triggering my 404.php template. The header status code, checked in firebug, is a 404, but the page that gets displayed is like a loop with 0 items (as if this were simply an archive page ...
0
votes
2answers
830 views

Page not found for custom post type UI plugin and taxonomy

I am using Custom post type UI and when I try to go to the post created under the post type projects page is redirected to page not found page. I have page created with same name before but I have ...
0
votes
2answers
566 views

Wordpress Auto-Redirecting on 404

I believe that Wordpress will try to find a suitable URL if you enter a wrong one. So I have a page http://www.example.com/products/ and by mistake I enter http://www.example.com/prods/ Wordpress will ...
1
vote
0answers
118 views

Category archive leads to me 404 page? [closed]

I’ve category named “Golf Swing Trainers”, with the slug “golf-swing-trainers”.When I click this category it leads to me to 404 page. But if, I change the slug into anything it works fine…. ...
1
vote
3answers
3k views

Change loop.php for empty search customization

I've been stumped for days wondering why when I submit an empty string as a search term, it redirects to part of loop.php where I have the following code inserted: <?php /* If there are no posts ...
1
vote
1answer
426 views

Why would a GET variable one one page of a site cause a 404 error when a GET variable works on another page of a site?

For example I have 20 pages on a site. one of them is called bacon another called eggs. on the same site...lets say breakfast.com I have the permalinks set up properly and have used them ...
7
votes
2answers
4k views

Redirect Restricted Page to 404

Is there a way to show a 404 page if the current logged in user does not have the right clearance to view the page? I am looking for a PHP method, something like if( ...
7
votes
5answers
5k views

How do I skip wordpress's 404 handling and redirect all 404 errors for static files to 404.html?

How do I skip wordpress's 404 handling and redirect all 404 errors for static files to 404.html? I read and it seems its not possible when using permalinks? The objective is to reduce the server ...
0
votes
1answer
315 views

custom contact form no longer working (because of 3.2?)

Been trying to ask on Wordpress forums, but no hits. I'm hoping there are more people here that can help me. My custom contact form page used to work, but for some reason, it results in a 404 error ...
0
votes
3answers
1k views

Custom Post Types cause 404 for pages? [closed]

I have looked at the previous post here regarding a similar issue but what resolved them issues doesn't want to work for me. Basically, I have a custom post type for football players for my home ...
0
votes
2answers
937 views

Some users getting a 404 when previewing draft posts/pages

I have a WP network and have found that users with roles other than "super user" (admins, editors, authors, etc.) are getting a 404 when trying to preview draft posts/pages/custom post types. Any ...
5
votes
3answers
1k views

External page integrated into WordPress returns a 404 error

I have a script that I'd like to call via AJAX from my WordPress theme, it relies upon some core WordPress functions so I am including WordPress blog header like so: define( 'WP_USE_THEMES', false ); ...
2
votes
3answers
5k views

Custom post type pagination 404 fix?

Been trying to get this working all day but haven't had any luck... I have a custom post type called 'news' and an archive template (archive-news.php), here I'd like to show 2 posts with pagination, ...
0
votes
2answers
285 views

How to troubleshoot 404s in Wordpress admin

There are several threads on Wordpress.org about this problem, but none with solutions. I just went from localhost (MAMP) to a live server (Dreamhost) and I'm getting constant 404s when submitting ...
1
vote
1answer
2k views

permissions access error

I'm getting this when saving a post after editing: Forbidden You don't have permission to access /wp-admin/post.php on this server. Additionally, a 404 Not Found error was encountered while trying ...
0
votes
2answers
1k views

Wordpress “Page not found error” when I edit a page

On a Wordpress based website, when I add text using wordpress visual editor or HTML source to a particular page - it gives "page not found error". I tried by adding some other text and its working ...
2
votes
1answer
209 views

Redirect feed to 404 page

I would like to redirect my visitors to my 404 when they visit any feed of my page. Something like this. I would liek to do this without changing the header URL. function fb_disable_feed() { // ...
0
votes
4answers
619 views

Pagination throws 404

I'm experiencing some problems with my pagination when displaying custom post types. I would like to display 9 posts and then display a numeric pagination. This is working, some links are generated ...
2
votes
1answer
693 views

Debugging WP routing

For some posts, I see 404 page, even though posts exist, where is the place in WP where using permalink is decided what object needs to rendered? Thanks!
0
votes
1answer
430 views

How to return HTTP 404 when no search results found?

When user search and there is no results found wordpress still return 200 OK. I want to change it to 404 Not Found. Is it possible to return 404 Not Found header in search.php? If yes, how to do ...
0
votes
2answers
709 views

Why after a form post back, I get 404?

I am creating a contact form page. Perhaps I am doing it wrong? I have something like <?php // even when I remove this validation block it fails if (isset($_POST['name'])) { // do validation ...
1
vote
2answers
515 views

WordPress Stats keeps showing non-existent post as a top post?

For some reason, one of my top posts as reported by WordPress Stats is actually non-existent... What I see is: #2147483647 (loading title) and it links to "...?p=2147483647" which returns a ...
1
vote
4answers
709 views

Where does the 404 redirection happen?

Can someone please tell me where the 404 redirection occurs? I am wanting to redirect to a custom template.php instead of the 404 page. Is this possible to do? If it is can some one provide me with ...
8
votes
7answers
16k views

Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error

I refer to this question previously asked and not suitably answered: Wordpress overriding actual subdirectories and also Non "Wordpress" pages/code getting 404 error. I have the same ...
1
vote
2answers
336 views

404 redirecting to home [closed]

I have a multisite network, and my theme has a custom 404.php. On all the child sites this 404 handler is being correctly used, but on the primary site all 404s go back to the home page without ...
2
votes
2answers
2k views

Custom post type archive 404's with paginate_links

im using paginate_links function to create pagination on my custom post type archives, no matter what i do im hitting 404 errors when going to view page 2 (ie clicking to go on one page in the ...
0
votes
1answer
135 views

WordPress archives widget causes Bing bot 404 errors

I'm using the standard WordPress Archives widget in dropdown mode on my blog. But apparently the Microsoft Bing spider gets confused by it, because the dropdown code looks like this: <select ...
3
votes
3answers
1k views

404 error on homepage when using Nginx proxying to Apache

I generally use Nginx to serve static content on my server, with Apache handling PHP content using PHP-FPM. However, I'm not able to get a Wordpress blog homepage to display and I've tried all the ...
1
vote
1answer
424 views

What causes an Unexpected HTTP Error within install plugins?

Within "install plugins" I'm receiving an error stating "An Unexpected HTTP Error occurred during the API request." When I do a plugin search it throws me back to my site's 404 page. Any idea what ...
4
votes
3answers
922 views

Custom Post Types 404 Issue

I dont know why my custom post types render the Page not found. This is the code I am using to register custom posts. www.example.com/products/product1/ renders 404 where as ...
1
vote
2answers
283 views

Form in WordPress : 404

In my WP site I've got a Contact page whose URL is mysite.com/contact/ and which contains a <form> with an action attribute set to action="/contact/" Clicking on the submit button brings me to ...
1
vote
2answers
1k views

Non “Wordpress” pages/code getting 404 error

I'm hoping that you are my saviours. There seem be lots of people with this problem on the forums, but no clear answer. Here's my predicament:- I've just put together a new Wordpress site on new ...
1
vote
1answer
615 views

An empty Custom Post Type Archive page returns 404 in WP 3.1

I have set up a Custom Post Type called "Portfolio". If I view the CPT's Archive page without adding any posts to it (/portfolio or /?post_type=portfolio), it returns a 404 page. Is there a way to ...
0
votes
1answer
187 views

Adding Theme File for Non-Wordpress Content

I have a third party events plugin that uses custom tables in the database. I have created a theme file (event.php) that pulls the data in based on a slug that is ideally given in the URL. I want to ...
0
votes
1answer
929 views

404 error after publishing a post

My issue is prety much what the title indicates. Whenever I publish a new post, everything works fine - the post is listed in my WP dashboard and all looks good. However, if I try to 'view post' to ...
2
votes
3answers
2k views

Preview posts returns 404

It's a large Wordpress multisite installation, using subfolders for the individual blogs, not domains. We are running version 3.1, and preview posts doesn't work. When I press preview I get the ...
1
vote
4answers
4k views

After server migration only the homepage works

I have recently changed hosting of my WordPress site to VPS.net. I have moved all of my files and imported the database. Everything appeared to be fine until I clicked a link and noticed that all of ...
0
votes
2answers
1k views

WordPress 404 page returning with default in IIS7

I've installed a number of WordPress sites across many different platforms and I'm finding that when installed on IIS7 I'm getting the nasty default IIS7 404 error. I nuked Window's hold on the 404 ...
0
votes
1answer
982 views

custom post type and custom taxonomy url conflict

I have custom post type called paintings and it has a custom taxonomy called paintings_category. Currently I have this situation: example.com/paintings/ A page using page-paintings.php ...
1
vote
2answers
330 views

Intermittently missing pages and posts in WordPress

Every now and then some of my Wordpress pages (and posts) seems to be missing, I get the 404 page (although the HTTP response code is 200). A couple of hours later the page is back, with no changes in ...
2
votes
2answers
1k views

How to trigger 404 for custom query var?

How can you trigger a 404 when using custom query vars? I've got re-write rules written for a custom query var, but if you were to request a URL for the query var that should technically be a 404 it ...
1
vote
1answer
655 views

Getting soft 404 errors (200 status) when caching plugins are enabled

I have a blog running the latest stable version of WordPress on a dedicated virtual server with the following situation. (Replace [caching plugin] with W3 Total Cache, Hyper Cache, or Quick Cache, as ...