When you move a page, you can set up a redirect, so that visitors will be sent to the new page from the old address.
For example, if you move www.your-domain.com/shop.html to www.your-domain.com/shop/, you can set up a redirect so that any visitor that still goes to shop.html will be automatically redirected to /shop/.
To set up a redirect, you need to edit your .htaccess file, which you can find in your public_html directory. If it does not exist, you may need to create one in your text editor.
To set up a redirect:
redirect 301 /shop.html http://www.your-domain.com/shop/
Another use of a redirect is if you want to make certain people go to www.your-domain.com instead of just your-domain.com. This might come in with search engine results or marketing campaigns.
To point people to www.your-domain.com:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^your-domain.com
RewriteRule (.*) http://www.your-domain.com/$1 [R=301,L]
Article ID: 484
Created On: Tue, Mar 17, 2015 at 3:45 PM
Last Updated On: Thu, Apr 23, 2015 at 12:48 PM
Online URL: https://www.heartinternet.uk/support/article/how-do-i-redirect-my-site.html