If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts May 10, 2011 at 11:27 am #4218 jamiec1Participant I cannot update to the latest version of the theme as I have customised it quite a lot for the client. What is the fix for wordpress 3.1 version. What part of the theme code do i need to change to get round this problem. Thanks James May 11, 2011 at 5:31 am #45524 DudeModerator Hey, In habitat/theme_options/portfolio.php replace: 'rewrite' => array('slug'=>$slugRule.'/portfolio','with_front'=>true), with: 'rewrite' => array('slug'=>'/portfolio','with_front'=>true), Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘404 on portfolio detail pages. Tired all other recomendations to fix.’ is closed to new replies.