mod_rewrite and .htaccess in Godaddy
I'm trying to do some URL rewrites to my website and as an .htaccess rookie I don't seem to make the mod_rewrite rules work.
Here's what I tried using an example I found somewhere:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^/([^/]+) /index.php?cat=$1
I'm trying to redirect a query like website.com/abc to website.com/index.php?cat=abc
I uploaded the .htaccess file to the root folder (where the index.php file is at) using ASCII encoding and set the permissions to 644 but it doesn't seem to do anything, the page won't load. To be accurate, I get a 404 page not found error.
I'm using the Godaddy hosting and they mentioned at their support center that mod_rewrite is enabled by default and I don't have to do anything to enable it by myself (i.e. editing the httpd.conf file).
Do you have any idea what could be the problem?
Thanks a lot,
Doron.
-
maxleadford -
Thanks
{{ DiscussionBoard.errors[996500].message }} -