Tagged Questions

a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

2
votes
1answer
785 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
450 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
731 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
530 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
727 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 ...
11
votes
7answers
20k 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
350 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 ...
3
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
139 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
453 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
967 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
298 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
635 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
1k 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
5k 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
1k 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
350 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
722 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 ...
0
votes
2answers
1k views

Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)

I've got problems getting pretty permalinks to work. When changing the permalinks (e.g. to month/name), my .htaccess (in the wordpress directory - there is another one one level up) is changed like ...
0
votes
1answer
421 views

How to fix 404 page error on theme

I am using the MidMo Clean theme and for some reason the 404 error page isn't working. Parse error: syntax error, unexpected T_STRING in ...
0
votes
1answer
327 views

Why is POST'ing to my WP page template producing a 404?

Hey guys..... I have a page template I have made up & I also was POST'ing to it to process the form.... originally it was working fine, but I moved around some code & now it's not working for ...
0
votes
6answers
3k views

How do I change the permalink structure without getting 404s?

after updating the permalinks from the default /?p=N to another setting (e.g. /%year%/%monthnum%/%postname%/) all my old links are broken and also the archive, catgories etc. side bars get 404 errors. ...
1
vote
1answer
227 views

Getting a 404 in Debugger for example.com/wp-admin/Array?

For some reason when I go to one of my clients WordPress installations, and I install a plugin that I made which has custom TinyMCE buttons, when they click on one of the buttons the popup appears but ...
6
votes
2answers
2k views

Why when I submit a form in wordpress it loads a 404 page though URL is correct

I am just creating a simple contact form, but I notice that it seems to post to an invalid page. The url in the browser is correct but the title of the page is "Page not found" on the top of the page ...
0
votes
1answer
226 views

Scripts external to WordPress cause 404 errors

I installed WordPress in the root of my web site. Everything went well. But now, other scripts and files, totally unrelated to WordPress, in other folders, cause WordPress 404 errors. For instance, I ...
1
vote
2answers
359 views

index2.php in root causing 404 error

I put up a quick splash page with index.php and added a link in that splash page to index2.php and when I go to index2.php, I get a "page not found" error. Getting rid of the splash is not an option ...
0
votes
3answers
989 views

WordPress category gives 404 after moving to a different domain

I just moved a site from one domain to another and now category links are all 404. I have flushed the rewrite rules, recreated the .htaccess file but still it throws up 404. Weird thing is that if I ...
0
votes
2answers
843 views

Wordpress 3.1 problem, getting 404

Today morning I updated my wordpress, everything was fine, but suddenly I came to know that if I click on any post which is not having custom taxonomies selected in it, are giving me 404 pages. I ...
0
votes
2answers
477 views

Permalink Problems

I am having a problem. I am running WP 3.05 with one custom taxonomy. Here is the code to create the taxonomy: function create_property_taxonomies() { // Add new taxonomy, make it hierarchical ...
0
votes
2answers
855 views

404 Error on form submission within custom post type

I'm trying to create a forum system using WP's custom post types - two post types as Topic/Reply and a Forum taxonomy. I have created a singular template for the topic post type, in which I added a ...
1
vote
1answer
786 views

How do I display content to users who are not logged in instead of 404 on Private custom posts?

I want to display a message like "You must be logged in to view this", with Private custom posts. Theoretically, I want to use something like this: if (is_user_logged_in()) { // Page code goes ...
1
vote
3answers
714 views

Categories not working - 404 Not found error

I have a community blog at thelazy.info . All things are working except the category. When you click on any category it gives 404 Not found error. I tried searching out myself but couldn't come up ...
1
vote
2answers
208 views

Critical error in final stage of website launch - URLs are BROKEN!

We developed the wordpress site here: wwww.kirschfamilycomputerservices.com/sam/wheresthefairness ^^ URL does not exist now. When the website was done, we transferred the database & theme over ...
1
vote
1answer
767 views

Custom rewrite rule serves content, but returns 404 error code

I have a plugin that sets up a custom rewrite rule. I can access the short URL and the content is returned correctly, but the HTTP response is 404, Page not found. From searching the web it seems ...
2
votes
2answers
1k views

permalink changed, now getting 404 for every pages

i have my website with permalink, till now everything was fine, but few days before i changed my permalink, now everything is going wrong, now each and every page i am getting 404, even my about-us ...
0
votes
1answer
390 views

Custom Post Type Child Won't Come Through With Pretty Permalinks

I'm in a pickle and unfortunately, have almost zero working understanding of mod_rewrite/apache stuff. Here's what's going on: I've got a hierarchal custom post type with parents and children. On my ...
1
vote
1answer
259 views

404 Error Problems with sCategory Permalink plugin

Seems throughout the day my blog seems to show 404 page errors with no pattern. I have to manually change the permalinks from /blog/%scategory%/%postname%/ to default, then back to ...
2
votes
1answer
3k views

404 when fetching image from wp-content/uploads/

I get 404 status when fetching images, and the http still contains that image. Image shows up in a browser, but the 404 code breaks some applications. calls to wp-content/uploads/ are redirected in ...
2
votes
4answers
1k views

How to fix strange 500 Error after Editing Menu?

I have strange situation which just started which I seem to be unable to resolved. I am not sure what this might be related to but I think I remember reading somewhere that this has happened to ...
7
votes
3answers
3k views

Are there any hooks that alter the 404 logic?

Provided you have a 404 page defined in your theme, Wordpress will display a 404 page if "tag" is defined in $wp_query->query_vars, and there are no posts matching that tag. I'm writing a plugin that ...
1
vote
2answers
505 views

Why does the 'Month and Name' Permalink Format not Work on my new Wordpress Site (running on IIS7)?

I have just created a new Wordpress site (version 3.0.1) on a Windows 2003 server, but the 'Month and Time' permalink format does not work. It gives a 404 error when I use it. All of the other ...
0
votes
1answer
155 views

How do I fix unexpected redirection of visitors after enabling multisite on WP3?

After enabling SuperAdmin and multisite functionality in WP3 many users are getting redirected to a sign-up url. I do not have account sign-up enabled, how do I turn this off? It seems to happen ...
4
votes
5answers
6k views

How to eliminate weird 404 errors in wp-admin?

I run a WordPress site with about 70 active plugins. Every so often, I'll get a random error page ("Not Found", though I haven't checked the headers to see if it's a 404) on a /wp-admin/ page that ...
1
vote
1answer
259 views

An issue with SEO Ultimate

I'm using SEO Ultimate. The 404 monitor module is reporting several 404 errors. The errors are reported for urls that do not exist; 3 of them did exist as drafts but were never published. I ...