WordPress.org

Ready to get started?Download WordPress

Forums

THE BIG MOVE - 6 Months of work ready to pay off! (13 posts)

  1. Floyd3
    Member
    Posted 6 years ago #

    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: http://www.pinkfloydonline.com/wordpress/

    I'm ready to move it here: http://www.pinkfloydonline.com

    I've been reading this article on how to move wordpress: http://codex.wordpress.org/Moving_WordPress

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

    1st: BACKUP

    2nd: Change my wordpress URI from pinkfloydonline.com/wordpress to pinkfloydonline.com.

    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!

    Cheers.

  2. Kalessin
    Member
    Posted 6 years ago #

    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 http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    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.

  4. Floyd3
    Member
    Posted 6 years ago #

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

    Thanks Otto, I will move instead.

  5. Kalessin
    Member
    Posted 6 years ago #

    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...

  6. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

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

  7. jadedstudio
    Member
    Posted 6 years ago #

    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!

  8. Floyd3
    Member
    Posted 6 years ago #

    Thanks for the tips and advice!

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

    You can check it out here if you want: http://www.pinkfloydonline.com

  9. armstead
    Member
    Posted 6 years ago #

    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.

  10. Floyd3
    Member
    Posted 6 years ago #

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

    Are you talking about a different site?

  11. armstead
    Member
    Posted 6 years ago #

    I used the link pinkfloydonline.com 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.

  12. Floyd3
    Member
    Posted 6 years ago #

    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.

  13. armstead
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic