Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

    Is this possible?

    You could have a static home page and a blog page simultaneously. You can have a Page in the form https://www.domain.com/my-first-page/. But not a post. Posts are always filed under categories and/or date.

    Thread Starter simoncarr

    (@simoncarr)

    So, are you saying I can do this?

    https://www.domain.com/index.php – Static Homepage
    https://www.domain.com/blog/ – Blog
    https://www.domain.com/category/my-blog-post/ – Blog Post

    How would this work? Would I need to Add a page in WordPress with the URL /blog/ and then make a template to pull in the blog posts?

    esmi

    (@esmi)

    So, are you saying I can do this?

    Yes

    Would I need to Add a page in WordPress with the URL /blog/ and then make a template to pull in the blog posts?

    No. Simply make a Page called Blog and another with whatever title you want to give to your static Home page. Then navigate to Settings/Reading. Under “Front page displays”, check “static page” and choose your new Home page from the Front page dropdown. Next, choose your Blog page from the Posts page dropdown.

    Thread Starter simoncarr

    (@simoncarr)

    Okay…

    So I make a page called ‘Blog’ and the url is /blog/

    I make another page called ‘Home Page’ and the url is /home/

    Then am I able to make wordpress redirect /home/ to the root?

    Also, will all blog posts be filed like this?
    /blog/category/post-title/

    Or, can it be like this?
    /category/post-title/

    Thanks

    esmi

    (@esmi)

    Setting the page called ‘Home Page’ as your static front page will automatically set up the re-direct.

    will all blog posts be filed like this?
    /blog/category/post-title/

    No – they will still be filed in their appropriate category.

    Thread Starter simoncarr

    (@simoncarr)

    Okay, thanks. I will try this out before I try to apply it to my live site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Posts in Multiple Directories?’ is closed to new replies.