Sylar
Well-known member
Okay, so I read the topic that was supposed to have the fix for this in it, but it didn't work. Here is my htaccess file:
What is wrong with it? Because promotion-box.com is not redirecting to www.promotion-box.com
Code:
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^promotion-box\.com [NC]
RewriteRule ^(.*)$ http://www.promotion-box.com/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
What is wrong with it? Because promotion-box.com is not redirecting to www.promotion-box.com