I just changed the domain of my site.
After i setup the board on new domain, i just added this code in .htaaccess file of new board.
I am not sure if i am sucessfully done with the job of 301 redirect.
Or is there anything else i am supposed to do.
How do i know if it is working successfully for the board?
After i setup the board on new domain, i just added this code in .htaaccess file of new board.
Code:
# Enables or disables runtime rewriting engine
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
# Site has permanently moved to new domain
# old_domain.com to new_domain.com
RewriteCond %{HTTP_HOST} ^www.old_domain.com$ [NC]
RewriteRule ^(.*)$ http://www.new_domain.com/$1 [R=301,L]
Or is there anything else i am supposed to do.
How do i know if it is working successfully for the board?