> 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
Comments
0 comments
Please sign in to leave a comment.