Extension

Archived
Forum
(read-only)

LG .htaccess Generator

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Leevi Graham

     

Removing index.php for subdomain

Support Request

DCalabrese
DCalabrese

I am using EE 2.1.1 and the classic method of supporting subdomains

I have the .htaccess file set up as below.

RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

When going to www.domain.com it successfully removes the index.php as expected, but when going to subdomain.domain.com it does not.

Really need help

Thanks in advance,
Chris