I’m trying to remove the index.php from my URL but I’m not having any luck.
I’ve done it in the past however the htaccess code I usually use is not working. My site is being hosted on an apache server, version 2.2.22 with Lunarpages.
Here is the code I’m using:
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
My site is: macrogolf.com
Any ideas? Thanks, G