a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
46 views

404 for children in hierarchical custom post type

I've tried all the solutions I can find on this and I'm still stuck. This post has a good thorough approach to debugging, but it hasn't helped. Part of the issue may be because I'm trying to get the ...
1
vote
2answers
312 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
2answers
273 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 ...
0
votes
0answers
116 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 ...
-1
votes
1answer
58 views

paged query leads to 404? [duplicate]

As soon as I click the "2" on my pagination links I get a 404-error. The url correctly changes to http://mysite.com/?paged=2 <?php /** * The loop that displays the posts. */ ?> <ul ...
1
vote
0answers
133 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, ...
0
votes
2answers
387 views

Main blog page works but title says Page not found

Here's a strange one. I've been developing a site, including a custom template that I originally worked up from the functionality of the Naked theme. The site has no public blog at the moment; the use ...
0
votes
2answers
105 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 ...
-1
votes
1answer
202 views

Pagination with Custom Post Type not working on index.php: I get a 404

I've read many posts about the same problem but none seems to work for me. I have a query for a custom post into the index.php. When I go to page 2 I get a 404 error. The same code works like a ...
1
vote
0answers
192 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
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 ...
0
votes
0answers
111 views

URL parameters causing 404 on home page, but nowhere else

I am writing a plugin that utilizes URL parameters. For some reason, adding one of these parameters to the home page of my website causes a 404 (http://bleaney.ca/?source=asdf). Adding the parameter ...
0
votes
1answer
135 views

Form submission to another page returning 404 error [duplicate]

I'm modifying a form plugin, and trying to have it submit to another page chosen by the user. Right now the page it submits to is page_id=6. If I navigate to this page myself, it prints Array(). When ...
4
votes
2answers
513 views

get_the_ID() gives notice in 404 page

I'm using get_the_ID() in my wp_enqueue_scripts action due to some needs, But as result I'm getting the following notice (wp-debug is on): Notice: Trying to get property of non-object in ...
0
votes
0answers
46 views

Automatic redirect on change of permalink not working if child page

When changing the name of a permalink on a per post basis wordpress will automatically redirect the old URL to the new URL, but not if the page is a child page. e.g: Changing ...
0
votes
0answers
287 views

WordPress Network (sub folder) 404 issue

I've installed WP 3.7.1 on Apache (Linux). Note that this is a brand new install. I configured it for Network Sites (Sub folders). When I go to the root site (i.e. http://example.com/) I see the ...
0
votes
1answer
481 views

Show a 404 error page if Public query variable's value doesn't exist?

Public query vars are those available and usable via a direct URL query. On my site, I've created some custom URLs with their own query variables like so: ...
0
votes
0answers
152 views

Only homepage working correctly, 404 error on everything else

I've been developing wordpress based websites for some time now, and i built one for my company's own brand, it worked with no problem at all for ages, but now for some reason, i can only get the ...
1
vote
1answer
544 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 ...
2
votes
0answers
245 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. ...
0
votes
1answer
73 views

404 on page 2 multisite

I have a a multisite installation of wordpress. On my startpage (index.php) I show posts from all the sites that belongs to the network. The problem I'm experience is that when I go to /Page/2 I get a ...
0
votes
2answers
58 views

Wordpress Permlinks 404 Not Found

I have installed the latest WordPress on my EC2 Ubuntu 13.1 server. Once I have changed the permalink to use /%post-name%/, I encounter 404 not found for posts. I have followed almost everything here ...
0
votes
0answers
34 views

Array in POST request -> is 404

I send array in post request <form action='<?php echo get_permalink(); ?>' method='POST'> <input type="hidden" name="question[]" value="<?php echo $question->ID ?>"> ...
0
votes
1answer
48 views

List all Wordpress key words

I have a page http://bhaa.ie/realex-ipn.php that returns normally when called with GET but is throwing a 404 when it is called via a POST request curl -i -X POST http://bhaa.ie/realex-ipn.php ...
2
votes
1answer
1k views

Custom Taxonomy Leads to 404 Page - Permalink Structure Flushed

I have a CPT: function CPT_init(){ register_post_type('custcpt', array( 'labels' => array( 'name' => __('Products'), ...
-1
votes
1answer
84 views

Cannot Create a new Post

Please help me resolving the issue as I am getting 404 Page not found issue when I click on Create new Post.
1
vote
1answer
76 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 ...
0
votes
1answer
184 views

/wp-admin/post.php shows 404 template on submit

When I publish or save a post, I see the 404 error page from my template. This happens with posts and WooCommerce products. I'm using the Twenty Twelve theme, and I have the following plugins ...
0
votes
0answers
49 views

404 Errors due to Tags Getting Converted to Categories

I am having problems on my site thehardtackle.com - webmastertools reports thousands of 404 errors. I have observed a lot of these, and it appears that all the tags on the Website are appearing to ...
0
votes
2answers
570 views

Page not found (404 Error) even if the page exists?

So I created a page called test.mydomain.com/hello and when I try to access it, it gives me a 404 error. I tried switching my permalink structure to default and back to post name to see if this was ...
0
votes
1answer
70 views

Add custom content to nonexistent page

I am trying to add content to what would otherwise be a 404 page. For example I want to define post content for mysite.com/existing-page/imaginary-page instead of showing the 404 page. I've tried ...
1
vote
0answers
235 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, ...
0
votes
0answers
297 views

WordPress Custom Post Type Pagination for Taxonomy giving 404

I'm developing a custom post type-based site on WordPress and have run into trouble on pagination - but only specific pagination. The custom post type has two taxonomies, pagination for these ...
1
vote
0answers
272 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 ...
0
votes
1answer
38 views

How to set up wp multisite?

After installing falling all the steps (http://codex.wordpress.org/Create_A_Network) I tried to create sites. I can't access the dashboard of any site created. It says page not found (error 404). To ...
0
votes
2answers
489 views

Custom Taxonomy 404

I've created a couple of custom post types: add_action( 'init', 'register_post_types' ); function register_post_types() { register_post_type( 'jobsearch-post', array( ...
1
vote
1answer
1k 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 ...
0
votes
0answers
90 views

Conflict in the urls of Taxonomy and Post Type

I have added a Custom Post Type "Review" with this code: // // Review post type related functions. // add_action( 'init', 'ci_create_cpt_review' ); if( !function_exists('ci_create_cpt_review') ): ...
2
votes
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
199 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 ...
0
votes
1answer
183 views

Site migration from Localhost to Server - 404 errors

I'm migrating another site from localhost to remote web server and am experiencing an issue. Here are the steps I took: 1.) Downloaded Wordpress locally, and began editing the twentytwelve theme. 2.) ...
0
votes
1answer
104 views

Thousands of 404 errors on old posts due to embedded links

The number of 404 errors on the server has gone up drastically in the last 45 days (from 2000 to 9000). this is after I have made no changes to my permalink structure or .htaccess. the 404 pages are ...
0
votes
0answers
225 views

How can I prevent non-existing wordpress pages from getting redirected to home page

We have a site whose blog url looks like www.domain-name.com/blog. The blog archive pages have urls like www.domain-name.com/blog/page/1, www.domain-name.com/blog/page/2 etc... These are displayed ...
0
votes
1answer
140 views

Visiting posts results in 404 errors after host migration

I have migrated my WordPress blog from one host to another by way of transferring the files and exporting/importing my database, updating URL references where needed. On my new host, I can ...
0
votes
2answers
600 views

How to use if($wp_query->query_vars['name'] == 'pagethatdontexist') without getting a 404? How to suppress 404

i want to do something if my url is /pagethatdontexist But I dont want wp sending 404 headers. I tried this: add_action('wp', array($this,'awp')); function awp(){ global $wp_query ; ...
0
votes
0answers
50 views

post not open on blog page

Posts do not show on blog pages. When I click the post title on blog page it returns the notification of "not found 404" . I used the post permalink. This doesn't work: When I used default ...
0
votes
0answers
246 views

Custom post type name and url parent/child structure 404 issue

I'm having a conflict between the name of my custom post type and my url structure. I've got a custom post type called 'timber-frames'. The 'timber-frames' landing page uses a page template that ...
0
votes
0answers
53 views

page works in preview but not live

Help! I'm new to word press and I'm not sure what I'm doing wrong. I made a new contact page that works perfect when I previeew it, but viewing it live shows a 404 error. What am I doing wrong? ...
0
votes
1answer
49 views

returning 404 page error on form submission [duplicate]

I have decided not to use a plugin to create a simple contact form on my site and used some php code to do the same job. This was so i could style the form exactly how I wanted to. However when I test ...
0
votes
0answers
193 views

Wordpress not showing custom 404 page for not found images, zip files

My blog all the web page not found errors shows the theme's 404.php file. But if someone click on the file link (.img, .zip), it doesn't show that themes not found page. Instead of that it shows web ...