• This is technically an apache question masquerading as a wordpress question, but hopefully someone can help.

    I’m in the process of replacing my traditional website with a wordpress site. Currently the wordpress “replacement” is sitting in /wordpress/. Of course, all of the URLs have undergone minor changes from what they were in the traditional static website to the new wordpress website. As such, I need to redirect all of the old pages to the new pages. I’m considering putting up a .htaccess in the root that looks like this:

    Redirect /index.html https://www.mysite.com/wordpress/index.html
    Redirect /foobar.html https://www.mysite.com/wordpress/foo-bar
    Redirect /somedir/index.html https://www.mysite.com/wordpress/somedir

    Before I go and type up all of these rules, is there any reason not to do this?

    Thanks,
    Scott

Viewing 1 replies (of 1 total)
  • Thats good i thing. Just dont forget to changes robots.txt and ping google webmaster so, a spider wouldnt be confused about your new url permalinks.

    Hope it useful for you ??

Viewing 1 replies (of 1 total)
  • The topic ‘Redirecting an existing site to wordpress’ is closed to new replies.