[Web4lib] 301 Redirects

Thomas Dowling tdowling at ohiolink.edu
Wed Sep 6 12:10:12 EDT 2006


On 9/6/2006 11:58 AM, Rachel Vidrine wrote:

> I found that there is already a .htaccess file in the root directory,
> so I simply added this line to the code that was already there:
> 
> redirect 301 /hsl/hslpage.html
> http://www.waketech.edu/library/hsl/index.html 


I believe what you want is:

redirect permanent [old location] [new location]


Assuming your server can be told to default to index.html, please
consider redirecting instead to "http://www.waketech.edu/library/hsl/".
 Then you won't have to go through this again when your "real" home page
changes to index.php, index.asp, etc.


-- 
Thomas Dowling
tdowling at ohiolink.edu


More information about the Web4lib mailing list