WordPress.org

Ready to get started?Download WordPress

Forums

To install WordPress in root or subdirectory- or a combination? (3 posts)

  1. bgscotty
    Member
    Posted 6 years ago #

    Hello.

    As a beginner, I'd welcome any advice...

    Where should I install WordPress- in the root directory, sub directory, or some combination?

    What are the advantages/ disadvantages of each option?

    I've read background on setting up but most blogs I see don't have http://www.domain.com/blog.

    Thank you in advance.

    BG

  2. Roy
    Member
    Posted 6 years ago #

    It depends on what you want to do with the WP site. If the site will be the main site, then why not just install it in the root. If you have a website and want to add a WP blog, you may want to put it in a dedicated directory.

  3. whistler2020
    Member
    Posted 6 years ago #

    whether you install in a folder or not does not effect whether your blog is seen as http://www.domain.com/blog or as http://www.domain.com

    You can install into your main directory, and have your blog show as being a subdirectory. you just need to have that index.php located inside of the directory you want to use and edit the require line so that it points at your wp-blog-header.php file wherever your install is.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.