URL rewrite not working For some reason the CraftCMS URL rewrite is not working on GoDaddy shared hosting server. 

Currently by .htaccess file looks like this

Options +FollowSymLinks -Multiviews
&lt;IfModule mod_rewrite.c&gt;
   RewriteEngine On
   # Send would-be 404 requests to Craft
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
   RewriteRule (.+) index.php?p=$1 [QSA,L]
&lt;/IfModule&gt;


Has anyone encountered this problem? Can someone help me solve this?

Update

I am not sure any more if this a url rewrite problem. As when I access an entry such as http://aspaceboydream.com/comic/so-this-is-me, it loads correctly. But when I use the function:

url('comic')


to construct the urls of the different channels, the URLs are being constructed as http://aspaceboydream.com/index.php?p=comic
I solved the problem and am writing it down for future people encountering the same problem.

Add the following configuration to the your craft/config/general.php config file:

'omitScriptNameInUrls' =&gt; true


URLs will start to work fine.