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:
- Download your .htaccess file from your website
- Open it in a text editor, or create a new file in your text editor
- Type in the following line:
redirect 301 /shop.html http://www.your-domain.com/shop/
- Repeat as needed to cover all your files
- Save your .htaccess file
- Upload onto your site
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:
- Download your .htaccess file from your website
- Open it in a text editor
- Add in the following lines:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^your-domain.com
RewriteRule (.*) http://www.your-domain.com/$1 [R=301,L]
- Save your .htaccess file
- Upload onto your site




