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
Comment #1
jhodgdonPlease click on Community and Support in the top Drupal.org navigation for support options (such as Forums or IRC).
Comment #2
robbycandra CreditAttribution: robbycandra commentedOh, my mistake.. I post it in the wrong place.
Hope I can delete this.
Robby
Comment #3
robbycandra CreditAttribution: robbycandra commentedI 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
Comment #4
ycsoftware CreditAttribution: ycsoftware commentedA more meticulous solution can be found here:
http://ycsoftware.net/drupal-7-clean-url-fix-ubuntu-open-atrium-red-hat/