Log in

View Full Version : what's the differents between those codes?


Alexey?
06-01-2009, 02:44 PM
RewriteCond %{HTTP_HOST} ^adminfuel.com [nc]
RewriteRule ^(.*)$ http://www.adminfuel.com/$1 [r=301,nc]


or


RewriteCond %{HTTP_HOST} ^adminfuel.com
RewriteRule ^(.*)$ http://www.adminfuel.com/$1 [r=301,nc]


and


Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^example\.com
RewriteRule (.*) http://example.com/$1 [R=301,L]



and


Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]

skol
06-02-2009, 06:21 PM
Nothing as i can see only they have been written on different text editors...Or two differrent coders..