WordPress.org

Ready to get started?Download WordPress

Forums

To move or not to move? should I move to root folder? (7 posts)

  1. nivosh
    Member
    Posted 3 years ago #

    Hi.

    My site is almost 3 years old, I have more then 700 posts, 900+ visitors per day, and google rank of 4.

    BUT my site was installed on subfolder /blog.

    I read some where that you should never install wordpress on a subfolder unless it's not your main site.
    they say it's bad SEO wise.

    I am thinking of moving to the root, but because the site is complex I am bit intimidated by the process.

    So I ask you:

    TO MOVE OR NOT TO MOVE?

  2. Moving isn't too complicated. In fact, you can keep it there, and run your site as if it were out of root without anyone knowing.

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    The only tricky thing is setting up redirects so /blog/(.*) points up a level, but even that is pretty easy with .htaccess

  3. Tom
    Member
    Posted 3 years ago #

    I have the same dilemma, but for me, my main concern is not how difficult it is to do- but how will my SEO be effected by the move?

  4. If you toss in a redirect (so the old pages seamlessly go to the new), you won't loose any SEO standing.

  5. Tom
    Member
    Posted 3 years ago #

    Thanks, I'll look in to that... I don't have a great understanding of htaccess unfortunately

  6. Thankfully this one is pretty basic :)

    If your site's in /blog/<whatever> you would put this in your .htaccess, above the calls to WordPress:

    RewriteRule ^blog/(.*)$ http://domain.com/$1 [L,R=301]

    NOW. That MAY conflict with your wp-admin folders, so if you have a post schema like domain.com/yyyy/mm/dd/postname (pretty popular) then you do this:

    RewriteRule ^blog/([0-9]{4})/(.*)$ http://domain.com/$1/$2 [L,R=301]

    It gets more complicated, obviously. But the idea is the important thing ;)

  7. Tom
    Member
    Posted 3 years ago #

    Thank you Ipstenu, I'll give that a try. Appreciated :)

Topic Closed

This topic has been closed to new replies.

About this Topic