View Single Post
  #2 (permalink)  
Old 03-03-2008, 08:29 AM
mikesmith76 mikesmith76 is offline
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default Re: htaccess redirect

Quote:
RewriteEngine On
RewriteRule ^profile.html$ MYLINKHERE.com/page.html[L,R=301]
This rule causes a redirect header to be outputted, you've told it do do this by adding R=301 to the parameters at the end.

If you was to use

Quote:
RewriteEngine On
RewriteRule ^profile.html$ MYLINKHERE.com/page.html[L]
this would silently rewrite the link as opposed to using an external redirect.

Don't forget to flush your browsers cache when testing.
Reply With Quote