WordPress.org

Ready to get started?Download WordPress

Forums

Run WP From Its Own Directory And Root Simultaneously (4 posts)

  1. Aedryan Methyus
    Member
    Posted 2 years ago #

    This might be a really stupid question, but here goes... I just got WordPress setup and running in its own directory on my domain and i'm wondering if it would be possible to continue running it from that same directory AND from the root both (with the same installation) if I end up deciding to convert my main site over to WordPress in the future (instead of just using it as a blog, etc). I know that moving it from it's own directory to the root is a fairly simple procedure, but I wouldn't want to lose the blog's directory path from the URL. Could this be accomplished with any sort of simple 301 redirect or something? What would be the best way to go about it? Just planning for the future...

    Thanks in advance for any suggestions you guys might have.

    ~ Aedryan

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    You cannot run any dynamic site from two different urls simultaneously. I suggest that you review Giving_WordPress_Its_Own_Directory.

  3. Aedryan Methyus
    Member
    Posted 2 years ago #

    Thanks, Esmi. I had already read that, but i'm a little concerned/confused about what will happen to my blog's current URL if I decide to do that, because the name of my blog is the same as the URL, etc. For instance, right now my blog's URL is "domainname/Name_Of_Blog". So... If I were to change my main site's index page to point at WordPress, what would happen to my blog's index page and the "Name_Of_Blog" part of the URL? Would there be any way to still keep my blog's current file path exactly the way it is, whether by 301 redirects or some other means?

    Please pardon my ignorance. This particular question confuses the hell out of me... lol

    Thanks again.

    ~ Aedryan

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Your current url is actually http://domain_name/name of wordpress_folder. It has nothing (directly) to do with the same of your WordPress site. as you will see from the page I linked to above, your WordPress Url remains unchanged if you use that method of relocation. Only your Site Url changes.

Topic Closed

This topic has been closed to new replies.

About this Topic