Single and Page template not work any more (2 posts)

  1. somtam
    Posted 3 years ago #

    Hello everybody,

    I've got a big problem. I don't know why, but now the page.php and single.php seem not to work anymore, and use the index.php as a template instead.
    And of course, using that template what I get is that the system don't print any content.
    I think is probably something around the permalink... but I already, on the admin>settings >permalink page pressed the save button, to reset the permalink and let WP to rewrite the .htaccess.
    So now I'm walking in the dark!

    Do someone have an idea?


  2. somtam
    Posted 3 years ago #

    the problem was due to the rewrite declaration of a custom taxonomy i had in the template. It was like:

    'rewrite' => array( 'slug' => '' ),

    so better to give a value or not put.


Topic Closed

This topic has been closed to new replies.

About this Topic