apache rewriting url doesn't work(using godaddy hosting)

Posted by AzizAG on Pro Webmasters See other posts from Pro Webmasters or by AzizAG
Published on 2012-05-30T07:37:44Z Indexed on 2012/05/30 17:01 UTC
Read the original article Hit count: 453

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)?

© Pro Webmasters or respective owner

Related posts about apache

Related posts about url