Posted By

iTony on 03/31/08


Tagged

url modrewrite redirection


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

basicmagic


url redirection


 / Published in: Apache
 

  1. RewriteEngine On
  2. rewritecond %{http_host} ^yoursite.com
  3. rewriteRule ^(.*) http://www.yoursite.com/$1 [R=301,L]

Report this snippet  

You need to login to post a comment.