WordPress.org

Ready to get started?Download WordPress

Forums

Converting static site to WordPress (2 posts)

  1. johnb41
    Member
    Posted 5 years ago #

    I've done quite a bit of research on this today, and I just want to confirm that I understand it all...

    I have a site that i want to convert into a simple CMS-type site with blogging functionality. The normal static pages would be converted to WordPress "Pages". But i obviously don't want to lose our Google rankings when the URI changes.

    So for example, this current page: http://www.mysite.com/somepage1.html would eventually change to something like http://www.mysite.com/somecategory/somepage1

    It's my understanding that all i need to do is add a 301 redirect in an .htaccess file, like this:

    redirect 301 /somepage1.html http://www.mysite.com/somecategory/somepage1

    ... plus i'd add more lines for all the other page redirects.

    So now when someone finds the page in Google, the user gets redirected to the wordpress URI. And eventually when Google indexes the site again, it will permanently use the new URI info instead of redirecting the user.

    Am i on the right track?

    Thanks!
    John

  2. Josh Leuze
    Member
    Posted 5 years ago #

    That sounds like it should do the trick to me. As long as you are using a 301 and not some other kind of redirect, and your old URLs are working after the redirect, you should be good to go!

    If your site is rather small, doing each URL individually is the easiest way. But if you had like a hundred URLs to do, there are other options. You could set up rewrite rules to add the .html extension to all of you URLs, or you could set it up to trim the .html from the old URLs.

    The best way to confirm that your site is still doing well in search is Google's Webmaster Tools. It will tell if there are any broken links or missing pages.

Topic Closed

This topic has been closed to new replies.

About this Topic