Permalinks okay some pages but 404 error on others

Problem fixed YAY. I had to edit the permalinks on the three main pages that were generating the server 404s. In other words, I changed about to about-client-name, changed services to services-page, and changed contact to contact-us. The 404 behavior went away. This also fixed the subordinate services pages and the subordinate about page.

Problem with wordpress links on a live site

The welcome page “exists” since I can access it when I search for it, though trying to go to its link directly give me a 404 as well. As an experiment, try changing that page’s slug to welcome2; if it works now, check if you have any custom rewrite rules set up that are overriding … Read more

Post incorrectly displaying as page

I was going to make this a comment but it was getting long and I think I see an answer emerging. I’ll gamble. If this is the problem URL: http://whoosh.acgdemo.com/swampism/, you are seeing an attachment page <link rel=”canonical” href=”http://whoosh.acgdemo.com/?attachment_id=114″ /> WordPress shows these when individual images are requested. I am starting with that assumption. The … Read more

Removing parent slug in hierachial custom post type

I was able to solve this problem by adding the code below under my theme/functions.php file. (My custom post type slug is ‘news’) function df_custom_post_type_link( $post_link, $id = 0 ) { $post = get_post($id); if ( is_wp_error($post) || ‘news’ != $post->post_type || empty($post->post_name) ) return $post_link; return home_url(user_trailingslashit( “$post->post_name” )); } add_filter( ‘post_type_link’, ‘df_custom_post_type_link’ , … Read more

Permalinks not working

The problem was that somewhere AllowOverride was set to None, but I don’t know where that httpd.conf file was. I set it through some GUI tool that comes on the Mac. Apparently the file I was trying to edit was not the one that was being used. Thanks for your help, Pothi and JMa.