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'm in the middle of moving to WordPress from another CMS. I definitely have to keep the links intact, which are like this:

  • example.com (Redirects to /blog)
  • example.com/blog (The blog, displaying all the articles)
  • example.com/blog/article (A specific article)
  • example.com/about (A static page)
  • example.com/portfolio (Another static page)

Right now, however, only the static pages work as expected. I cannot figure out how to create a new custom "blog" page and display the blog posts on that, and how to remove the front page alltogether, making it redirect to the blog instead.

Furthermore, I'm using the zBench theme, which always displays the "Home" tab which will lead to the front page. Instead, I want my tabs like this: "Blog", "About", "Portfolio" - no "Home".

A similar question has been asked before: How to get the list of posts in a static page other than front page?

But this seems like a hack, and not really the same problem I have. I do want to display the blog on the front page, I just want to rename it in both URL and on the tab.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Setting your permalinks as /blog/%postname%/ will solve your structure problem.

In your theme, drop in a home.php file which redirects the user to /blog/ and you can set the blog to appear on a page with slug blog as the blog in your Settings > Reading

Regarding the menu, you would have to take a look how your theme works. If its using WP 3.0 menus, then you can easily change them in the dashboard itself else if its calling wp_list_pages(), then you need to use the exclude parameter of the function to exclude a particular page from showing. http://codex.wordpress.org/Function_Reference/wp_list_pages

share|improve this answer
    
Can I still get my static sections like /about and /portfolio then, or will it become /blog/about and /blog/portfolio? –  futlib Apr 8 '11 at 12:23
    
Pages will be fine /portfolio/ , posts will be like /blog/post-blah-blah/ –  Ashfame Apr 8 '11 at 12:26
    
Great. My theme does use WP's menus, but it turns out the "Home" tab is always there, hard coded. Will have to hack that. Your permalink suggestions works just how I want it! –  futlib Apr 8 '11 at 13:05
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.