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 have Wordpress installed in my root directory, so if you go to site.com you see the list of recent posts.

What I want to do is to have the homepage show a static page instead showing recent news etc (I've figured out how to do this), however if someone goes to site.com/blog/, I want to show a list of the recent posts the same way as they show up right now on the homepage.

Can I do this - if so, how?

P.S the other url doesn't have to be called /blog/, it can be anything, e.g site.com/recent/ or site.com/archive/ would also work.

Thanks.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Create a simple page which is needed to be the homepage and another page on which you want to show your recent blog posts.

Then go to Settings > reading and set a static page option in front page displays option. Then for the front page select box, select the new homepage and for the post page select box, select the custom page on which you want to display all your post listings.

share|improve this answer
    
Thanks, this worked. However on the static page, I need to disable the comments form from showing. Any ideas how to do it? –  Click Upvote Jan 10 '13 at 7:13
    
If you are going to edit the html for the page then comment the line of code which is loading the comments form. You can take more reference from here‌​. And if the answer is helpful then don't forget to mark it as accepted. –  Rohit Pande Jan 10 '13 at 7:23
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.