Hello

I installed drupal 7 at main domain and addon domain.
I didn't make any change at settings.php
I have tested that .htaccess is working at both installation

This is .htaccess editing at both installation:
1. Comment the Options directive because it's not allowed by my shared hosting
2. Uncomment rewritebase / at main domain - and - uncomment rewritebase /addon.com
3. Uncomment
-- RewriteCond %{HTTP_HOST} !^www\. [NC]
-- RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

I can enable clean url at main domain but i *cannot* enable it at addon domain.

I try to delete the .htaccess at main domain but still cannot enable clean url at addon domain
I try to add
-- RewriteCond %{REQUEST_URI} ^/mysite/(.*)$
-- RewriteRule ^(.*)$ /mysite/index.php?q=$1 [L,QSA]
at addon domain, but still not working.

Please help
Thanks
Robby

Please help

Comments

jhodgdon’s picture

Status: Active » Fixed

Please click on Community and Support in the top Drupal.org navigation for support options (such as Forums or IRC).

robbycandra’s picture

Status: Fixed » Closed (duplicate)

Oh, my mistake.. I post it in the wrong place.
Hope I can delete this.

Robby

robbycandra’s picture

I found a solution for clean_url at addon domain

At addon domain I have to change
RewriteRule ^ index.php [L]
to
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]

Thanks

ycsoftware’s picture