Problem with permalinks and custom static homepage with defined category
-
I created a custom homepage because I wanted to only display a certain category on the homepage only but wordpress only allows pages to be static. I used this code to display the category:
<?php query_posts('cat=1&showposts='.get_option('posts_per_page')); ?>
So it only displays this one category on the homepage. It works wonders, however when I click on the “Keep Reading” link to go to the next set of posts, the permalinks aren’t functioning correctly and although the link says url.com/page/2 it loads the front page so I can never get to the other pages. I know that the url is being displayed wrong because of the fact that this category is on the home page. I need the links to say: http://url.com/category/uncategorized/page/2/
So my question is how do I set up the permalinks manually so that it will work for my custom homepage?
- The topic ‘Problem with permalinks and custom static homepage with defined category’ is closed to new replies.