Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am building a custom wp theme and I have a category called 'blog'. On here I have all of my posts displaying from the category 'blog' and a link at the bottom that says older entries.

When i click the link it goes to 404. The URL is

 http://localhost:8888/blog/page/2/

As you can see it's putting the category /blog/ in the url causing a 404. If I remove 'blog' from here it goes back to the home page. and then does show older posts but i need it to stay on the category page and show older posts. It's driving me crazy!

share|improve this question
    
So, when you say 'On here' above you mean 'On the home page I have a custom loop displaying posts from the "blog" category'? Or something else? Can you post the code for your query and the 'older entries' link? –  guiniveretoo Nov 6 '12 at 15:42
    
No sorry, i mean on the blog cat page im displaying all posts from 'blog'. The home page shows posts from all categories. I will show code asap. –  Chris Nov 6 '12 at 15:49
    
Here is my loop from the category 'blog' page. pastebin.com/9Zvq87u5 –  Chris Nov 7 '12 at 9:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.