Redirecting an existing site to wordpress
-
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/somedirBefore I go and type up all of these rules, is there any reason not to do this?
Thanks,
Scott
- The topic ‘Redirecting an existing site to wordpress’ is closed to new replies.