Return to Snippet

Revision: 10889
at January 17, 2009 01:51 by kossmoss


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

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

Initial Description
canonical redirect at .htaccess

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

Initial Tags
url, htaccess

Initial Language
Apache