This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Don't allow users to view robots.txt file | |
# RewriteCond %{REQUEST_URI} !^/robots\.txt$ | |
# Force add 'www' to URIs without 'www' (permanent redirect) | |
# RewriteCond %{HTTP_HOST} ^yourdomainname\.com$ [NC] | |
# RewriteRule ^(.*)$ http://www.yourdomainname.com/$1 [L,R=301] |