a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

2
votes
0answers
243 views

Inconsistent temporary 404s on whole install | PHP error with post-template.php

I'm deeply confused by this one: I have a WordPress install on a Media Temple GS [one of many which work fine and are configured almost exactly the same] which is occasionally giving me 404s sitewide. ...
1
vote
0answers
48 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
0answers
54 views

Accessing Subdirectories in WordPress Install

I have scripts that are in a subdirectory of my WordPress install folder. They are on the same level as the /wp-content/ and /wp-admin/ folders. I'm running them as form processing but I've got the ...
1
vote
0answers
58 views

Turning on the 404 page on localhost

I'm using my localhost (XAMPP client) to test my WordPress website and everything works fine, till it comes to verifying how does my 404.php template looks like. I can't preview any changes, because ...
1
vote
0answers
34 views

Category and guest post with 404

i use twenty twelve theme in wp with plugin of guest post and redirection because if any of user click on category and blank category shows a guest post page in redirection plugin i set one category ...
1
vote
0answers
90 views

Media attachment pages giving 404's

I use Google Webmaster Tools to track and fix 404's. I've been getting numerous 404's from media attachment pages, but not the page itself, it's parent. An example: I have this piece of media, ...
1
vote
0answers
135 views

Hierarchical permalinks for custom post type and taxonomy

I have registered the custom post type "word" and the custom taxonomy "wordcat". Now what I want is proper hierarchical permalinks. So I've been searching the web for quite some time with no result. ...
1
vote
0answers
191 views

Using a custom 410 page

I've been trying to figure this out without success. In created a 410.php in my theme, and in my nginx config, I added:- error_page 410 /index.php?error=410 as I'd seen suggested in a few places, ...
1
vote
0answers
225 views

High CPU usage on 404 errors

After debugging high CPU usage for a week, I've discovered that URLs submitted to my WordPress site that result in 404 errors cause high CPU usage. I tested my site with jmeter. When I request a file ...
1
vote
0answers
183 views

Permalink /%category%/%postname%/ returns 404 on OSX

I'm on OSX 10.8.4 with a pretty standard installation of Wordpress 3.6.1 under the local OSX Apache/MySQL. If my permalinks are set to /%category%/%postname%/ I get a 404... This is working on the ...
1
vote
0answers
36 views

Catch 404 errors in nested installations

I have a site at the root of my /http/ folder (I'm using Apache). In a subfolder, I have another WP site. When a 404 is encountered within the subsite, like this: ...
1
vote
0answers
61 views

One post on my website is going to a 404 page

So I ran into an incredibly odd and frustrating problem today. As the title says, as of today one of the posts on the website is going to a 404 page. This is the ONLY post that goes to a 404 page. ...
1
vote
0answers
86 views

Getting 404 error on my wp rewrite error

The code I'm using to rewrite urls with query vars: function add_query_vars($aVars) { $aVars[] = "city"; $aVars[] = "address"; $aVars[] = "pg"; return $aVars; } // hook add_query_vars ...
1
vote
0answers
119 views

Wordpress 404 Page displaying on a sub directory that has it's own 404 page

On a subdirectory such as http://website.com/sub/index.html that has it's own .htaccess is still for some reason showing the 404 page I have for Wordpress which is on the directory above this one. ...
1
vote
0answers
686 views

How do I locate the exact location where this error is occurring 404 page not found

I recently installed a wordpress theme and lots of plugins. This error appears on blog post after refreshing page for second time anywhere in between the post content. Here's the link to my site: ...
1
vote
0answers
80 views

redirect deleted / drafted pages

A client asked me to unpublished a page, which I did. However, I kept it as a draft, just in case they wanted to republish at a future date. My issue is that anyone with this link will hit a 404 ...
0
votes
0answers
19 views

Blog guid link is re-directing to a 404 page

I have this link from the wp_posts table http://domain.com/blog/?p=895 But when I put that link into a browser it redirects to http://doamin.com/blog/title-of-my-blog-post/ It is using the ...
0
votes
0answers
7 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
14 views

404 page is not querying my custom post

I have a 404 template page which is, obviously, designed for Not Found Pages. Within the code, I have the get_header(); where I place the global code for the site. There is a div that contains a style ...
0
votes
0answers
11 views

How to Prevent Browsing to Extra Directories?

By "Extra Directories", I mean directories that exist for no apparent reason. For example, here is an article on css-tricks.com: http://css-tricks.com/favicon-quiz/ If I append (an extra ...
0
votes
0answers
18 views

Subpages return 404 server error

I just moved a site to another production environment and I have an issue with accessing subpages. The home page and the /wp-admin section works as expected and there are no path issues with images or ...
0
votes
0answers
34 views

Is this the best way to complete disable category archive pages?

I wanted to disable category archive pages because content in my blog will be presented via a number of pages for which I have custom templates like this: add_action('page_template', ...
0
votes
0answers
14 views

Some posts 404, htaccess wipes itself

So posts on my WordPress have started to 404, I have tried refreshing the permalinks. Have also disabled all plugins and changed theme. Categories section in the admin panel is also showing empty (but ...
0
votes
0answers
48 views

wp-admin/admin-ajax.php returns 404

www.mysite.com/wp-admin/admin-ajax.php returns error 404 when logged out. www.mysite.com/wp-admin/admin-ajax.php loads a blank page with 0 when LOGGED IN. This is the proper behavior as per ...
0
votes
0answers
12 views

Broken pagination on custom search query

I've been searching through various questions and answers for some time now, but can't figure it out. I should state that I'm still a novice when it comes to WP coding. The thing is, I'm using a ...
0
votes
0answers
19 views

Wordpress - 404 When creating Post/Page

I'm using the most recent version of WordPress and have encountered an issue that I've never seen before. Basically, when I try to publish a Page or a Post, WordPress directs me to a 404 page rather ...
0
votes
0answers
21 views

Why do my offline development site and online live site behave differently?

I have two versions of my site - one live, the other a development site using DeskTopServer. I work on the development site - adding / editing posts etc. and making changes to the WP database, and ...
0
votes
0answers
16 views

Featured image loads correctly while gallery images returns 404

I can't get why the featured image is loading correctly while those in the gallery returns a 404 if the links is to the attachment page. If i link to the file, the file is shown but if activate the ...
0
votes
0answers
43 views

Multisite new sites not found(404), main site still works

I followed wordpress guide to install multisite. My main site (mydomain.com) works well, my multisite is based on subdirectory i.e., (mydomain.com/test/), however it doesn't load at all (404 error). ...
0
votes
0answers
43 views

Shortlink in header points to 404, but actual page does not

I've inherited a website whose permalinks are 200 and open fine: http://www.example.com/test-1 While looking at the source, the shortlink specified in the link tag points to 404s: <link ...
0
votes
0answers
20 views

add_rewrite_rule is not fired

I need to rewrite some urls: I have a page (id = 61), with slug anunciantes on wich I use a custom template to generate a wp_query to list a custom post_type. I need to be able to filter by two ...
0
votes
0answers
26 views

How do I enforce a 404 status for an EXISTING page?

I was able to replace the main query for 404 pages with pre_get_posts but as soon as I point to an existing page, the error changes to 301. What function should I hook to to change the status to 404 ...
0
votes
0answers
47 views

Where should I insert code to dynamically generate page content?

I would like to generate dynamic pages based on a third-party API. However, I'm not sure where in the WP loop to capture the request and generate the content. For example, if a user is requesting a ...
0
votes
0answers
39 views

Date Archive pages 404 error

I am building my own theme and realized that all date archive pages (all date, month and year) are throwing a 404 (its a locally hosted site). Its not theme specific as I thought earlier, because I ...
0
votes
0answers
65 views

On IIS 8.0 wp-admin returns 404, wordpress/wp-admin does not

Settings: we have a WordPress website running on IIS 8.0 in a shared hosting environment. Permalinks are set on Post name. Web.config has been edited on purpose (please find that below). Site root ...
0
votes
0answers
39 views

My website not showing 404 error!

My self-hosted website is no more showing 404 errors (of course for the pages that don't exist). I edited the 404 template of my theme and just updated the written text of the heading and body text, ...
0
votes
0answers
37 views

Install wordpress as a development site in a subdirectory on live server

I am trying to set up a development environment for a friend. I have never had a problem before until now. Basically on the home directory of the server there is a WordPress installation. My friend ...
0
votes
0answers
40 views

Wordpress installed in subdirectory - Apache serves 404s

I am developing a series of sites (for multi language purposes) installed with one instance of Wordpress in the server root, then further instances in country-code subdirectories. So there are ...
0
votes
0answers
37 views

404 error on every post and page other than home

I am developing a wordpress theme and I think at some point I messed something up pretty badly in the wordpress system because nothing works anymore. I have tried several different themes, mine and ...
0
votes
0answers
61 views

Moved my site to new host now getting 404

I just moved my wordpress multisite to a new host and all the pages expect the homepage keep getting the follower error Not Found The requested URL was not found on this server. Additionally, a 404 ...
0
votes
0answers
94 views

Pagination in custom loop for custom post type throwing 404 error

I searched around for similar problems but it did not worked for me, im a total beginner with WordPress. I made a custom query but the pagination throwing me 404 error Query $paged = ...
0
votes
0answers
10 views

Make a WP instance go to the 404 page of another WP instance

I have two Wordpress instances: One is in '/' The other one is in /commerce I would like that, when somebody goes to /commerce/nonexistingpage or some route that does not exist, the user gets ...
0
votes
0answers
412 views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
0
votes
0answers
52 views

404 not Found (But recommendations like changing port did not work)

I have issues with Wamp and Wordpress Combo. (Please let me know if this is not the right place to ask) Reason i ask here is because it started with this: (Beginner) Need help installing Wordpress on ...
0
votes
0answers
41 views

Why are 404 errors redirecting to my homepage and not my custom 404.php?

Not sure if this strictly wordpress and not a general apache configuration but I'm having trouble setting up my 404 page for a custom theme. I have my 404.php in the same directory as my index.php. ...
0
votes
0answers
239 views

Multisite sub-directories IIS 7.5 change media/uploads location

I am running WP 3.8.1 Multisite. Sub-directories is configured. I have 10 sub-directory sites and 1 primary site. WordPress is running on a Windows 2008 R2 datacenter 64bit server with IIS 7.5. I have ...
0
votes
0answers
83 views

Logging out gives 404 error

When I try to log out of my site, I'm taken to a 404 page, and the logout doesn't work. The url looks like this: ...
0
votes
0answers
58 views

Subfolder index.php 404 Errors

I'm looking for help troubleshooting why subfolder pages return a 404 error if "index.php" is appended after the subfolder. I do not experience this behavior on other WordPress sites. I have inherited ...
0
votes
0answers
39 views

Taxonomy for costum post type not found

I'm trying to use taxonomies to create categories for my costum post type. I registered the necesary components: add_action( 'init', 'create_post_type' ); function create_post_type() { ...
0
votes
0answers
88 views

Multi site sub directories 404

I've set up my .htaccess and wp-config as advised by WP (3.8). The issue is that when I browse to the sub-sites ( i have /testing set up at the moment ) I get 404.Nothing shows in the errors. My host ...