Permanent redirect for moving a website

I just closed down 7.barracks.cl and moved all the articles to wayneconnor.com

1. EXPORT all articles from 7.barracks.cl using wordpress admin back end.

2. IMPORT them all to wayneconnor.com using WordPress admin. This moved all the posts and comments across and put them in the right location. Very nice.

3. Put the following into my .htaccess file at 7.barracks.cl:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.wayneconnor.com/$1 [R=301,L]

Now any individual page at 7.barracks.cl (eg http://7.barracks.cl/holidays/our-new-caravan.html) appears at it’s new location. (wayneconnor.com/holidays/our-new-caravan.html).

 

Leave a Reply

Your email address will not be published. Required fields are marked *