WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Is installing WordPress in root after installing in sudirectory a problem? (5 posts)

  1. Kreachure
    Member
    Posted 1 year ago #

    Hello, I've been setting up my WordPress blog in example.com/blog, and now I want a clean new installation of WordPress on the root directory and use example.com for it, without copying or affecting example.com/blog. Is this problematic somehow? For instance, I see a .htaccess file on my root directory, and a different .htaccess on the subdirectory, which leads me to believe that trying to install WordPress in the root would cause a conflict with at least that file. I want to keep the subdirectory blog unless it's necessary to uninstall it. Thanks in advance for your help.

  2. s_ha_dum
    Member
    Posted 1 year ago #

    Please use real URLs!!!

    If the site installed in your-real-site-name.com/blog/ shows up at http://your-real-site-name.com/ then there will be a conflict. You will need to reconfigure things. You will need to set up the subdirectory site to load at http://your-real-site-name.com/blog/ and then you can put another installation in root.

  3. Kreachure
    Member
    Posted 1 year ago #

    Okay then!!! :P

    I'll give you my website address, even though my question isn't specific to it (and the Forum Welcome instructions say "If your question relates to a specific site or page, please provide a link to it").

    My site is http://alpha-risk.net/blog. http://alpha-risk.net is currently parked, so there's no install in my root nor does my blog show there. I installed WordPress at http://alpha-risk.net/blog, so my question is if installing on the root now would cause a problem, and/or is there something specific I need to do to install properly.

  4. s_ha_dum
    Member
    Posted 1 year ago #

    I'll give you my website address, even though my question isn't specific to it...

    You believe that your problem with your configuration on your server doesn't relate to your site?

    The URL provides an enormous amount of information if you know what to look for, and I do.

    You should be able to install at root without too much trouble, just be careful not to create directory conflicts. For example, if in the root site you create a page named 'blog' then WordPress will try to load http://alpha-risk.net/blog and you could have trouble.

    You may need to tell the root .htaccess to ignore requests to your 'blog' folder-- http://wordpress.org/support/topic/multiple-wordpress-installations-in-subfolders-htaccess?replies=2

  5. Kreachure
    Member
    Posted 1 year ago #

    You believe that your problem with your configuration on your server doesn't relate to your site?

    Certainly not, I was simply thinking that my question applies to websites in general and not just mine, the way the thread with general examples that you linked to applies to my blog too. :)

    Anywho, I think I now know what to do and what to avoid to install WP in my root folder. I'll modify the htaccess file when it comes to it. Thank you very much for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic