Posted By

kossmoss on 01/17/09


Tagged

url htaccess seo


Versions (?)

301 Permalink Redirect from address without www to same address with www


 / Published in: Apache
 

URL: http://www.proseoblogger.com/kak-ustanovit-301-redirect/

canonical redirect at .htaccess

  1. Options +FollowSymlinks
  2. RewriteEngine on
  3. RewriteCond %{HTTP_HOST} ^domain.com$
  4. RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

Report this snippet  

You need to login to post a comment.