Start a conversation

Setting redirects

> How can I set up a default redirect on my site?

The easiest way to create a redirect is by using .htaccess file in the root folder of your site. This can be done via FTP or File manager in Hosting controls.
Here is an example of the code to put in that file:

Redirect permanent /OldPage http://www.YourDomain.com/NewPage.html

Let us know which page you want to redirect if you need help with this.

If you want to setup default 404 page (not found page), you can put this code into the same file:

ErrorDocument 404 http://www.YourDomain.com/404.html

to redirect to the home page on page not found error:

ErrorDocument 404 http://www.YourDomain.com

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Admin FinestShops

  2. Posted
  3. Updated

Comments