• I’m using multiple custom category pages like category-6.php etc. to display top-level categories. Other categories go in the standard category.php.

    Now, as long as I am in default permalink structure (http://mysite.com/?cat=8) everything works fine. But the moment I switch to pretty permalinks (http://mysite.com/category/some-category/) I get a 404 page. everything else, (header.php) (sidebar.php) (footer.php) all load and display fine. the only problem is that instead of the category pages (category.php / category-n.php) I get a 404 page.

    The moment I switch back to default permalinks, all becomes ok again.

    Please help !!!!!

Viewing 1 replies (of 1 total)
  • Since you only have one custom category, you could do this – add

    <?php
    /*
    Template Name: Special Category
    */   
    
    ?>

    at the top of the category page and then go create a page based on the template.

Viewing 1 replies (of 1 total)

The topic ‘pretty permalinks break custom categories’ is closed to new replies.