WordPress.org

Ready to get started?Download WordPress

Forums

Static front page permalink to full blog (3 posts)

  1. ag3co
    Member
    Posted 5 years ago #

    I've done quite a few modifications to my WP install. This includes have quite a few "page templates" to allow me to display more then one "page" inside a single "page." This allows me more control and proper "page title" displaying. I also have a static front page.

    Problem is, no way to bring back the complete blog in a "sub-directory" such as /blog/. Right now if you goto /about/ you'll get the "about us" page, same goes for the gallery, etc. I've tried the same code that was in the "index.php" page template file and put it into "blog.php" and gave it the "page template" name as "Blog". I then have created a dummy page in wordpress to house this template. This works perfectly for every other page I have done so far. EI: Display 3 separately created pages within the /about/ page. Except with the blog template. When you go to /blog/, it comes up showing nothing, except a old header.

    No post show up. Why is this? In theory it should work just fine, since it's worked for the about page, gallery, contact, etc.

    Is there a way to do this? A way without having to add a category named ei: "general" to all of my posts and then calling to that category in the menu link? I just want /blog/ to go to the whole blog while / continues to go to my main "static" front page.

    Thank you.

  2. pascoedj
    Member
    Posted 5 years ago #

    Sorry, but this is a me-too. I have tried various hacks to be able to have a static front page and still have my posts available via a nice /blog/ url.

    My workaround is to have a link on every page called /blog, but it redirects to http://rosacea-support.org/?page=1 which then behaves like a blog, leading to http://rosacea-support.org/page/2?page=1 and so on. The URL ends up looking weir with the /page/N?page=1 but it gets the job done.

    I'd love to know how to do this properly with wordpress.

    davidp.

  3. pascoedj
    Member
    Posted 5 years ago #

    OK I can't believe how thick I was being.

    There are 2 settings, one for the front page - make this a wordpress page that you have populated with your landing page content.

    The second is for a "Posts page: ". Create any old empty page using the wordpress editor. I created a totally empty page called "blog". Select this - voila - you have a blog URL and a CMS for a web site.

    Here is a screengrab - so you don't have to be as thick as I was.
    http://i128.photobucket.com/albums/p164/rosaceaforum/17-03-20094-02-18PM.png

    davidp.

Topic Closed

This topic has been closed to new replies.

About this Topic