Ramblings About Web

Brought to
you by:

Home :: Blog Home :: Problems Removing index.php from website hosted by EngineHosting

Problems Removing index.php from website hosted by EngineHosting
01/23/2010

So you'd think having you ExpressionEngine website hosted by EngineHosting would make removing index.php relatively easy…You'd be wrong.

If you’ve already tried the LG .htaccess Generator add-on and got a 500 error, try putting the following in your .htaccess file:

# BEGIN ExpressionEngine Rewrite

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteRule ^(.*)$ /index.php?$1 [L]

# END ExpressionEngine Rewrite

Next entry: The Importance of Finishing Your Portfolio Website

Previous entry: My 5 Favorite ExpressionEngine Add-ons

0 Comments so far

Be the first to comment

Leave a Comment