apache rewriting url doesn't work(using godaddy hosting)
- by AzizAG
I'm using a framework to create my website(codeigniter) by default the urls are like this:mysite.com/index.php?/etc/etc/etc.
And I'm trying to remove the index.php?, I tried to remove it by doing this(didn't work):
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?$1 [L]
Note:
it's working on my localhost(when putting my website's files in the root directiory).
So, Is this issue associated with me or the hosting company(Go Daddy)?