.htaccess Set up a 301 redirect December 21, 2011 Pramod T P Leave a comment 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