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
<IfModule mod_rewrite.c>
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]
</IfModule>
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