Set up a 301 redirect

If you rename the url of a page and need to redirect old URL to your new page, use the below given code in your htaccess page

Redirect 301 old_file_name.html http://example.com/new/file_name.html

Share

Leave a Reply

Your email address will not be published. Required fields are marked *