1
vote
1answer
23 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
1answer
15 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
0answers
26 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 ...
0
votes
0answers
11 views

Why do all my custom post types return a 404, even after resetting the permalink? [duplicate]

I have two custom post types setup like this: add_action( 'init', 'create_post_type_News' ); function create_post_type_News() { register_post_type( 'news', array( 'labels' ...
0
votes
1answer
65 views

Changing permalink settings causes 404

I would like to have permalinks of the form http://localhost/mysite/sample-post/. I tried to achieve this by changing the permalink settings in the admin panel to 'Post name' from default. But this ...
1
vote
2answers
48 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 ...
0
votes
2answers
73 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 ...
1
vote
0answers
68 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. ...
0
votes
0answers
29 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 ...
4
votes
1answer
105 views

Making %author% the rewrite slug for custom post type causes 404s on non CPTs

This has been driving me absolutely mad. I created a custom post type which I plan to use to create pretty affiliate/redirect links throughout my site. Here is my register_post_type(): ...
0
votes
0answers
46 views

Custom Taxonomy Term in Custom Permalink Gives 404

I developed a small plugin to be able to add a custom taxonomy as a string to a post. I've included the variable in a custom permalink string. This string is used by Apache to determine if external ...
0
votes
0answers
122 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 ...
0
votes
0answers
241 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 ...
0
votes
1answer
33 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
73 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') ): ...
1
vote
0answers
159 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
79 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
0answers
47 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
20 views

I keep getting 404 Error when I attempt to view blog in single view

I'm a newbie to Stack Exchange. Hoping to get some answers now and again and maybe help out as well. My question is, I have (2) blog posts, and for some reason the latest one gives me a 404 Error ...
0
votes
3answers
139 views

WordPress keep redirecting me to random URLs

When I go to my homepage, http://example.com, I sometimes get redirected to http://example.com/SXKSLW/ or some other random URL along that pattern that yields 404 page. I do not remember doing ...
0
votes
0answers
78 views

Multisite (MU) sub-directory 404 problem with modified permalink/url

I have the latest version of WP and CBOX which is basically a modified BuddyPress installation. I am using the BuddyPress plugin, Group Blogs, and I am trying to modify the permalink/url structure ...
0
votes
0answers
49 views

first load of the page gives 404 error

I'm having problem loading the page first time on my browser. For example if I load the page from a link it gives me 404 error but when I refresh the page It works perfectly. Any ideas on how to ...
0
votes
0answers
31 views

homepage olderposts link showing page not found

I am using WordPress 3.5.1 version, now I had a problem with olderposts link present at bottom of homepage. it is ok with rest of the category pages. I am working on this problem since last two days, ...
0
votes
0answers
55 views

404 error on second page load for child-pages

I have a strange problem which I really do not understand: My site has the page community and a sub-page called test. Permalink structure is set to /%postname%/ So the URLs for the pages are: ...
0
votes
1answer
171 views

Changing the post date without causing 404 error

We have permalink structure based on date (like 'www.mysite/2012/05/27/postname'). Some times there are some posts that we need to be shown the first, so we change they date. The problem is, that by ...
0
votes
1answer
92 views

how to set up wp in folder within static website?

In my server I have the following file structure: www/ index.html js/.. css/.. img/.. index.html ... blog/ .htaccess index.php wordpress/ .htaccess wp-config.php ...
1
vote
1answer
95 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
1k 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... ...
0
votes
0answers
30 views

%page%/number didn't return 404 but redirect to /%page%/

I've got page, for eg. /about/ when after slash I put some numbers (not letters) I still get this same page. I really want 404 there. Why? What to do to avoid that? SEO itp...
0
votes
0answers
170 views

permalink and add_rewrite_rule - error 404

I'd like to have comments in a separate page with a dedicated template only for posts in a specific category (slug shops). Example: mysite.com/post-incatshops --> mysite.com/post-incatshops/comment ...
2
votes
1answer
178 views

New categories are now going to 404s

I have a WPMU site with hundreds of blogs on it. We are on 3.4.2 and this is the first time I'm seeing this issue within a few of my sites. Basically, what happens is that I'll create a new category ...
3
votes
2answers
380 views

Custom post type 404s with rewriting even after resetting permalinks

I created a custom post type, of which the (simplified) arguments are: register_post_type( 'Event', 'public' => true, 'rewrite' => array( 'slug' => 'eventy'), 'has_archive' ...
0
votes
1answer
171 views

Wordpress permalink change causes all incoming links to give 404 errors

My site URL is http://funandfoodcafe.com I changed my Permalink structure to Postname today, and I am using WP 3.5. All the links on the site redirect to the new structure correctly, but all incoming ...
2
votes
1answer
123 views

Some posts returning 404 instead of displaying post

I'm having a problem with my Wordpress install. All of a sudden some of my posts return 404 errors when I try to go to their permalink. My post names are all numbers and this started happening when my ...
0
votes
1answer
49 views

Permalink Trouble with custom post types

When using custom post types I reach a dilemma where I have to use flush_rewrite_rules(); when using a permalink structure, otherwise it goes to a 404. After using it It works on one CPT but if you ...
0
votes
1answer
493 views

Pagination breaks on child-categories, works fine on parent-category

I have two parent categories, and pagination is working fine on them - the paged url's show as: /parent-category-1/page/2/ ... etc /parent-page/parent-category-2/page/2/ ... etc However, when I go ...
9
votes
5answers
2k views

Getting hierarchical custom post type permalinks to work just like pages

I've dug through every question here on custom post type permalinks, but most seem to be either problems with custom taxonomy rewrites, or the obvious missing of flush_rewrite_rules(). But in my case, ...
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
266 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 ...
0
votes
2answers
207 views

404 Error On Custom Taxonomy Pages 2, 3, etc

I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem. I have the following: Custom Post Type: Sermons Custom Taxonomy: Series My urls ...
0
votes
1answer
451 views

404 permalink errors on Pages only

I am having a strange issue with permalinks while using the /%postname%/ structure. I can access my custom post types using the pretty permalink localhost/cpu/<post-type>/<post-title>/ ...
2
votes
1answer
766 views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
0
votes
1answer
189 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 ...
0
votes
1answer
430 views

using wp_redirect to redirect to a permalink

I'm using wp_redirect to change the URL of my 404 page: function show_404($message = 'page not found'){ wp_redirect(home_url() . '/error/404?m=' . urlencode($message)); exit(); } I have ...
-1
votes
1answer
203 views

Parent pages not found with pretty permalinks

I'm building a site and for some reason all the parent pages are 404ing, only sub-level pages are displaying with pretty permalinks. If I use default permalinks, everything works fine. I've tried ...
0
votes
1answer
145 views

Permalinks not working (404) for the 'item' post type

I have searched various forums and blogs, however I could not find the isuse so far, neither a way to fix it. item does not seem to be a wordpress-reserved word. My custom post type registers just ...
0
votes
1answer
67 views

old permalinks not found

Looking through Google Webmaster Tools, I have a lot of 404s for posts with permalink structure of /%year%/%month%/%day%/%postname%/ I have since changed permalinks to /%category%/%postname%.html I ...
1
vote
1answer
267 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. ...
0
votes
1answer
284 views

Safe to throw 404 error in request filter?

I am working on a plug-in for my personal site and I would like it have a certain permalink structure (/projects/project-type/sub-type/project). To achieve this, I am using the request filter. Inside ...
3
votes
2answers
2k views

Including category-base in a post permalink results in 404

I have static front-page and separate page /news/ as the Posts page. I would like to have the single-post URLs like this: www.example.com/news/categoryname/subcategory/postname/ and for the ...