ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Removing index.php from ee 1.6.7 on apache 2.2.22 server at Lunarpages

June 18, 2013 4:21pm

Subscribe [1]
  • #1 / Jun 18, 2013 4:21pm

    ClubZion

    30 posts

    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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases