a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

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
2answers
520 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
3answers
700 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
1answer
74 views

if/else on custom query gives 200 OK when condition not met?

What? I am modifying my theme to show comments of a post on a separate page. How? Mostly based on this answer but with improved checks and code. So this is what my page-comments.php (kinda) looks ...
1
vote
1answer
199 views

Clean install - Changing permalinks in twentyeleven give 404

interesting problem that I encountered, not sure if it's bug or not.. On a clean install using the twentyeleven theme I try changing the Permalink Settings to something different from the Deffault ...
1
vote
1answer
462 views

What does do_action('admin_init'); does actually?

What impact does disabling do_action('admin_init'); in admin.php make? I disabled this function because Whenever i was trying to insert featured image, I get 404 error, i.e. media-upload.php and ...
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 ...
1
vote
4answers
712 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 ...
1
vote
1answer
430 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 ...
1
vote
2answers
290 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
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 ...
1
vote
1answer
748 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 ...
1
vote
1answer
35 views

Permalink change made author archive vanished

I changed my WordPress blog URL from: http://example.com/%year%/%monthnum%/%day%/%postname%/ into first, http://example.com/%postname%/ and then after many days, ...
1
vote
1answer
70 views

post parameter 'name' 404 error

I am integrating the WorldPay hosted payment pages gateway to my WordPress installation and I am setting a notification URL in WorldPay to a route within WordPress. The problem I am having is that ...
1
vote
2answers
183 views

Posts not working on windows after changing permalinks

I recently started learning wordpress. Out to curiosity of changing settings, I changed permalinks to Month and Name. After that all my posts and pages have stopped working and show me a 404 Error. I ...
1
vote
1answer
904 views

404 not found error on pagination

Normal post (not custom post type), I did everything I should do, but 404 not found error in pagination. Here is my code $category_id = get_query_var('cat'); //Using this to get category ID to meet ...
1
vote
2answers
306 views

Preventing 404 error on empty date archive

On a date archive page when no posts exist (for that date) WordPress throws across to the 404 page. Is there a way to make WordPress continue to use the original archive instead of the 404. That way ...
1
vote
1answer
357 views

Permalinks okay some pages but 404 error on others

I recently upgraded to WP 3.4.2 and had multiple issues with custom theme. In the course of trying to fix those, permalinks broke for some pages, not others. I get server 404 page not found for the ...
1
vote
1answer
48 views

Defining a custom 404 for non-WordPress parts of site

I have a site with WordPress located in a directory under the root. The root directory contains the main files for the non-WordPress part of the site. Wordpress is included in all of these pages by ...
1
vote
2answers
377 views

Using /wp-admin works, using /login gives a 404. Why?

I just did a manual install and tried to login, but was unable to do so using domain.com/login. I got a 404 error. When I used domain.com/wp-admin, no issues. Did I do something wrong or forget to do ...
1
vote
2answers
432 views

Not Found (404) error on admin page, CSS gone on blog

I manually installed wordpress on my server and the wordpress files are located in "www.mydomain.com/wordpress/", however I wanted my "www.mydomain.com" to be the address for my wordpress blog instead ...
1
vote
1answer
448 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 ...
1
vote
2answers
333 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 ...
1
vote
1answer
226 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 ...
1
vote
2answers
206 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
254 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 ...
1
vote
1answer
36 views

Page not found error when adding text `2 = 2 ^ 1` to the page

Adding the following text to a page in the Text editor and clicking Update results in "Error 404 - Page Not Found": 2 = 2^1 Replacing this text with anything else makes the Update succeed. Any ...
1
vote
2answers
372 views

Is there a way to avoid 404 pages in Wordpress?

On my site, people can link to non-existing posts, which is fine because that's the whole structure on my site... The problem is that you get 404 errors, which is not good for SEO. Is there a way in ...
1
vote
1answer
530 views

WordPress Post - On Post - 404 Page Not Found

I was helping a friend with a website. Every thing seem to work fine. I set up some demo content manually. But today some thing wired happened. When we try to do a post it returns to a 404 not found ...
1
vote
1answer
2k views

How to get permalinks with category base working with sub-categories

I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight... ...
1
vote
1answer
72 views

get_search_link() redirects to 404 template page

I built a custom theme, and in it, there is a 404.php page and a search.php page. Elsewhere in the template, I wanted to link to the search page directly. So, I used the get_search_template() ...
1
vote
2answers
1k views

Wordpress triggers 404 on page 2 for custom search query

I modified my index.php to check if the search query is an author and if yes, display articles of that author. That is working fine but as soon as you go to page 2 of the results, wordpress triggers ...
1
vote
1answer
2k views

Nginx Rewrite Rule:: index.html added to every permalink

Been working for several hours on getting my WordPress site to run on a secondary VPS with Nginx. Home is loaded and W3T Cache is working OK, but the permalinks are still broken and each one of them ...
1
vote
1answer
419 views

Error 404 on Network Admin and others

I have a multisite fresh install in my domain. Subfolder setup. Network Admin on the upper right menu has this link http://example.com/wp-admin/network/ and returns a 404 error. Other links like 'Add ...
1
vote
3answers
106 views

How can I send an email in my plugin?

I'm making a plugin that emails the site webmaster when I go to the 404 page. The script checks if the referring link is on our site, and then sends an email to the webmaster. $message = " ...
1
vote
1answer
311 views

Moving local wordpress page to a real server subdomain broke my permalinks?

I developed a site locally with /%postname%/ permalink structure. I did some sample posts locally and wanted to move this entire local setup to a temporary subdomain like http://review.clientsite.com. ...
1
vote
1answer
437 views

All pages after level 1 showing 404 after WordPress migration plugin - how to fix?

I am in the process of moving my blog away from GoDaddy (yey!) to HostGator. I used the migration plugin on GoDaddy tat created the gz archive of the database, and I copied all my files over to the ...
1
vote
2answers
1k views

Custom Permalink with Dynamic Taxonomy for Custom Post Type - Works, but breaks other permalinks

My custom permalink with dynamic taxonomy is working for my custom post type. However, it breaks all my other permalinks. They display a 404 error in the content area (header and sidebar still ...
1
vote
4answers
1k views

Changes to permalink structure results in 404 error for all pages other than home

When changing the permalink structure on my site, I get a 404 error for every page except the home page. I've see other questions that mention resetting the permalink structure to get it work, but ...
1
vote
1answer
406 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 ...
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 ...
1
vote
1answer
626 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 ...
1
vote
2answers
346 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 ...
1
vote
1answer
764 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
1answer
257 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 ...
1
vote
2answers
494 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 ...
1
vote
1answer
53 views

Nginx with Wordpress not showing template 404 for certain file types

I am using Nginx on Ubuntu to host a Wordpress site and everything is working great except certain file types return the Nginx 404 rather than the Wordpress template 404. For example: ...
1
vote
0answers
49 views

Posting comment returns 404

I've been tracking an issue in one of our WP installations and keep coming up short of a solution. One of our websites is installed in a sub-directory of our main website. Both are WP installations. ...
1
vote
1answer
25 views

Obtain page data and use regular loop

Is there a way to obtain the data from a certain page outside the regular flow, more efficiently than via get_post($id)? I know that I can get for example the title with $post = get_post($id); $title ...
1
vote
1answer
79 views

Custom permalink structure gives 404

For a Custom Post Type called 'matches' I created a custom permalink structure. The structure shows up just the way I want it, however, I get a 404 everytime I visit the post. I have tried removing ...