Support » Fixing WordPress » THE BIG MOVE – 6 Months of work ready to pay off!

  • Hi everyone,

    Well hundreds of hours of work into my wordpress site, taking about 6 months time is about to finally pay off.

    I’ve been building the site in a subdirectory, so that I could keep my old site active while I was working on the new one.

    I’m now just about ready to move the newly designed wordpress site to become my main site in the root directory.

    Here is where it’s located:

    I’m ready to move it here:

    I’ve been reading this article on how to move wordpress:

    From what I understand, all I need to do is:

    1st: BACKUP

    2nd: Change my wordpress URI from to

    3rd: COPY the wordpress contents to the root.

    Am I correct? Is this all I need to do?

    Any tips, advice or other comments before I do it?

    I put alot of work into this and would hate to screw anything up!


Viewing 12 replies - 1 through 12 (of 12 total)
  • Your step 3 is overkill (although it would work). Why not just copy the index.php and the .htaccess file? You can leave the rest in the /wordpress directory, nice and tidy.

    Just don’t forget to amend your new copy of index.php, changing require('./wp-blog-header.php'); to require('./wordpress/wp-blog-header.php');

    More detailed instructions at

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    I would change step 3 to MOVE, and not attempt to keep WordPress in its own directory. Things tend to work better the less you mess with them, and having to edit the index.php along with keeping one of the blog url’s unchanged is too much effort, IMO. Just eliminating one directory structure from the hierarchy is simpler and less prone to error.

    Kalessin, I think it’s probably best to make things neat and tidy.

    Thanks Otto, I will move instead.

    Things tend to work better the less you mess with them

    Is that a generalisation, or can you cite specific examples of things that don’t work well when WordPress is run from the webroot but stored in its own directory?

    I run my site from a WordPress installation in its own dir and although I haven’t had any problems I’m now thinking I should move it to the root…

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    It’s a generalization. Editing files is more complex and messy and prone to error than simply moving files around is.

    I would personally leave everything where it is, and add a .htaccess file to your root. I have done this before, and it works rather well. Plus, if you want to take your wordpress site away for any reason, and revert back to your original site, you simply need to remove the .htaccess file.

    Try using this .htaccess file in your root:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} !^/wordpress/
    RewriteCond %{HTTP_HOST} ^(www\.)?pinkfloydonline\.com
    RewriteRule ^(.*)$ wordpress/$1 [L]

    Hope this helps!

    Thanks for the tips and advice!

    The new site is up and running and working!!!

    You can check it out here if you want:

    Nice site BUT when I looked at the scheduled dates it froze up my computer.

    Maybe it’s that John McCain video. Aside from the fact that I’m an Obama guy, the video might be overkill in terms of computer usage.

    Hi, I don’t have any obama or mccain videos?

    Are you talking about a different site?

    I used the link by clicking in your post.

    There was some kind of UTube video under the list of scheduled apprarances.

    Maybe not a McCain video, but definetly a video and it was showing McCain.

    Oh weird, I see it.

    That’s actually a Google ad.

    Hmm, not sure if I want political ad’s on my site.

    Might make some people think the site is for McCain, or vice versa if there’s an Obama ad and that could turn some people off.

    Yes, but more to the point, the video froze my computer.

    Might be worth either removing it, or seeing if you can use a diofferent form of Google ad.

    Not to mention the McCain factor…

    Otherwise though I do like your site.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘THE BIG MOVE – 6 Months of work ready to pay off!’ is closed to new replies.