a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

1
vote
1answer
82 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 ...
1
vote
0answers
58 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
2answers
178 views

Changing Site Address (URL) causes 404

Thank you in advance for any help you might provide. I have read many other posts, and unfortunately the provided solutions did not work. The problem is this: I have Wordpress installed in a ...
1
vote
0answers
68 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
35 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
2answers
190 views

Filter to change the content of 404 page

I have created custom rewrite rules. These rules now go to 404 page as expected. I can use action hook template_redirect to change the template matching query_var. But I don't want to create separate ...
1
vote
0answers
96 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
147 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
1answer
416 views

404 - Category pagination for custom post type

--Edit I've managed to narrow it down that the paged variable is not working properly here, (get_query_var('paged')) ? get_query_var('paged') : 1; is always returning 0 although maybe it is due to ...
1
vote
0answers
196 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
242 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
1answer
1k views

Custom Post Type Works but Still Shows “Page Not Found”

I have a weird problem when creating custom post types. Everything works, the archive page shows the posts and the posts show their content, but for both the title of the site says, "Page not found." ...
1
vote
0answers
190 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
1answer
91 views

custom post template file not shown, instead all the time 404.php

i'm completely confused, want to use my own template file for a custom post type and of course i read all about this here or in the Codex ...
1
vote
1answer
294 views

Incorrect url for sharing blog on linkedin

I have a self-hosted Wordpress blog with Jetpack installed. My Wordpress URL structure is http://mydomain.com/archives/%postname%. Using the Jetpack's Publicize feature, I connected my blog to ...
1
vote
1answer
117 views

Top Level pages in wordpress giving 404, but child pages working fine

Basically everything works fine except for the top level pages ( e.g. category, archives, single post, custom post type, etc...). I have 3 custom post types and 4 custom taxonomies (each custom ...
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
1answer
107 views

Post preview gives 404 when permalinks are purely date based

I have an issue pertaining specifically to the situation in which permalinks are set to be based only on publication date. My permalink structure is as follows: /%year%%monthnum%%day%/ When I try to ...
1
vote
1answer
302 views

Serve apache 404 for missing assets rather then wp 404 template WP_Rewrites

I have a custom 404 page, but dont want serve it for every broken asset that may crop up. Instead I want to just serve the Apache 404 as its much faster. I've found the following htaccess rule that ...
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
363 views

403 thrown instead of 404 on iis [closed]

I am running a wordpress blog (3.4.1) on iis 7.5 with php manager 5.3.13. I cannot configure correctly the 404 page. I have created a 404 page which can be successfully viewed through /404.php. ...
1
vote
0answers
4k views

Failed to load resource: the server responded with a status of 404 (Not Found) [closed]

Using Google Chrome Console and also Firebug I get Failed to load resource error on each page. It's an undefined image and the undefined resource is always http://mysite.com/pagename/undefined I've ...
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
120 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
689 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 ...
1
vote
1answer
187 views

cutsom posts 404ing

I can't stop my custom post types from sporadically 404ing. It doesn't always happen and I can't predictably replicate the problem - as in sometimes it happens, sometimes it doesn't. However, once I ...
1
vote
0answers
212 views

Wordpress Page Edit gives Error 404 [closed]

I'm having the stupidest problem, ever. I can manage and edit pages just fine, but after some time, I can no longer edit or preview a page and I receive an "Error 404 - Page Not Found". This ...
1
vote
2answers
311 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
0answers
119 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
2answers
343 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 ...
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
693 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 ...
1
vote
1answer
799 views

make wordpress log errors in apache log file

I need to log 404 errors and wp-login failed attempts on wordpress site. Unfortunately it natively handles everything and doesn't write to apache log file. I tried this: 404.php <?php ...
0
votes
2answers
3k views

Post Pagination Showing Same Posts Every Page

So I have this blog that filters by category Then by city. Somewhere while creating the filtration I broke the pagination which seemed to work fine earlier. It doesn't work on my homepage where it ...
0
votes
2answers
97 views

How does WordPress know if a URL doesn't exist?

The WordPress theme I am using didn't come with a proper Error 404 handler and I'd like to add one to the code. I am having a hard time how WordPress determines if a URL does exist as a post, is a ...
0
votes
1answer
441 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
1answer
51 views

How to recover WordPress Adress(URL)

I installed WordPress in localhost. I changed the WordPress Address from the general settings. After that none of the previous pages appears. Instead, a "Page Not Found" error page is appearing. I ...
0
votes
2answers
41 views

What form element names break wordpress?

I know that <input name="name"> will cause wp to bork and throw a 404. It seems that 'year' is the same. Does there exist a list of input names that wp doesnt like?
0
votes
1answer
255 views

Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens

I have a CPT called "author". After an hour searching why I get a 404 visiting single pages of this CPT (managed by template "single-author.php") I realize that some do work: those whose slug doesn't ...
0
votes
1answer
581 views

WordPress custom post type category pagination 404 Error

This problem is giving me a headache and I was wondering if anyone knew how to fix it. I have a custom post type called Review. Here is how it is defined: function codex_custom_init() { $args ...
0
votes
2answers
427 views

Show a special message for private page?

If I set a page to private, can I have it show a message instead of a 404 page for public users?
0
votes
2answers
349 views

PHP Notice error (when on 404 page)

I have a 404.php template for my theme. I also have WP_DEBUG in wp-config.php set to TRUE. Consider this 404 template: get_header(); ?> <div id="content" style="full-width"> <div ...
0
votes
1answer
177 views

How to properly print a 404 error without redirecton? (i.e. keeping the current URL)

There are some pages on my BuddyPress install that I would like to hide by printing a 404 error. With the help of the following question: Redirect Restricted Page to 404 I came up with this code: ...
0
votes
1answer
960 views

Issue with front page navigation after upgrading to 3.4

I upgraded to WordPress 3.4 and am having an issues with showing a different amount of post on the first page versus the rest. The first page is still showing 5 posts but when I go to /page/2/ I'm ...
0
votes
3answers
1k views

Problems with 404, .htaccess, permalinks and Wordpress custom posts locally on Snow Leopard

I have a custom "about" post: function about_register() { $labels = array( 'name' => _x('About Page', 'post type general name'), 'singular_name' => _x('About ...
0
votes
1answer
831 views

Custom JSON feed rewrite

I'm trying to implement a feed of information from an Event custom post type in JSON format, to be used in a FullCalendar implementation, pretty much as described here. The one thing I wanted to ...
0
votes
2answers
5k 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
2answers
848 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
845 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 ...