htaccess condition not working on godaddy host

Viewed 19

My .htaccess on localhost XAMPP works fine;

RewriteEngine on
RewriteBase /
Options +FollowSymLinks
Options -MultiViews
Options -Indexes
DirectorySlash Off

RewriteCond %{HTTP_USER_AGENT} libwww-perl.* 
RewriteRule .* ? [F,L]

RewriteCond %{DOCUMENT_ROOT}/templates/$1\.tpl -f
RewriteRule ^([\w\-.\s]+)$ index.php?page=$1 [QSA,NC,L]

ErrorDocument 404 /sources/404.php

When I move it to GoDaddy host, when I'm trying to go site.com/Downloads I'm getting error 404 which doesn't happen on XAMPP.

What did I do wrong?

0 Answers
Related