The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress site structure

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #41632

    Hey guys,

    I’m currently working on a new WordPress Theme and I got in trouble.

    At first:
    I have a homepage (running under: localhost/) and a blog (running under: localhost/blog)

    My **index.php** have a custom Loop and my “blog”-section is a custom page-template (**blog-template.php**) with “The Loop” (I hope you understand what I mean). It works fine but there is a problem if I try to get all posts from a category, in this case WordPress is loading the homepage with category parameters.

    Is there a way to set something like a base url for WordPress?
    I hope some gurus can help me with this.


    Is this what you’re looking for?

    You have Step 1 down. Now I think you just need to do Step 2.


    Yea, thank you! This is what I’ve been looking for.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.