WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Pages URLs without the blog/ or wordpress/ (8 posts)

  1. theridep
    Member
    Posted 4 years ago #

    Hello, I have mydomain.com and installed wordpress on mydomain.com/blog.
    When I create pages in wordpress such as about, contact, etc. the URLs looks like this: mydomain.com/blog/about but I just want to show a clean URL such as:
    mydomain.com/about without the installation folder /blog/ directory. Is it possible?
    How can I configure this? Modify .htaccess?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

  3. theridep
    Member
    Posted 4 years ago #

    thanks esmi for response.
    I read the info about "Giving WordPress Its Own Directory" but I still have some questions...
    On mydomain.com I don't want to have the index.php (meaning I don't want to display posts, just a home static page), the blog should be in mydomain.com/blog and pages in mydomain.com/page# so I'm not sure how to do this.

  4. csbarrett
    Member
    Posted 4 years ago #

    Try going to Settings > Reading and having the Front page display a static page (the page you want to appear as your homepage) and then choose the page you want your posts to go to.

  5. esmi
    Forum Moderator
    Posted 4 years ago #

    csbarrett's advice will work and combined with the "own directory" method should give you the result you want.

  6. theridep
    Member
    Posted 4 years ago #

    Great but... one more thing: is it possible to set up the front page to be ANY page (e.g. index.html) and not a page created (and managed) in wp?

    Because from Reading Settings I am able to select a (front) page which resides only in wp...

  7. esmi
    Forum Moderator
    Posted 4 years ago #

    Not without editing your theme files.

  8. theridep
    Member
    Posted 4 years ago #

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic