Page 1 of 1

How to set 301 Redirects using .htaccess file?

Posted: Thu Aug 22, 2019 3:07 pm
by admin
Redirect a single page

Code: Select all

Redirect 301 /oldpage.html
Redirect 301 /oldpage2.html http://www.[color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]example[/font][/size][/color].com/folder/
Redirect an entire site
This way does it with links intact. That is will become This is extremely helpful when you are just "moving" a site to a new domain. Place this on the OLD site:

Code: Select all

Redirect 301 /