• Hey guys,

    I’ve read this tutorial, and for the most part, I understand it:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    My situation:

    My WP install is at http://mydomain.com/blog/

    but I would like to have my blog address be

    http://mydomain.com

    Since I’ve already got my WP files in the /blog directory, I suppose I’m halfway there, yes? I just need to now COPY my index.php and htaccess files up a level?

    Question: If I do that, will all my old links work? In other words, would I effectively have my blog in two places? i.e.

    http://mydomain.com/

    as well as

    http://mydomain.com/blog/

    There are quite a bit of links on my site indexed in Google, and I’d like to keep them live if I can.

    I want to get a grip on things before I do anything stupid. Last thing I need right now is to shut myself out of the admin panel or something.

    Mahalo!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. Always use example.com for… examples:) Everything else is a real domain!!!
    2. Yes, you are halfway there.
    3. I am not sure if it will work “in two places” – but a htaccess redirect could solve the old/new links issue, especially if you do NOT change the permalink structure.

    Hopefully some htaccess guru will tell you exactly what you need in that file.

    Thread Starter jaced

    (@jaced)

    Hey Moshu, you rock.

    The htaccess redirect you speak of would be the one in the /blog directory, right? Perhaps some htaccess guru can jump into this convo. 🙂

    Also, I should be COPYing the index.php and htaccess files in to the root, NOT MOVING them, correct? Leaving two sets of each?

    One more quick question: none of these moves would affect my ability to access the admin panel, right?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘moving WordPress to site’s root directory’ is closed to new replies.