In D7 Multisite, I'd like to use clean URLs. However, these sites share the same domain but have different folder names.
For example, the login pages would are currently
https://domain.ext/red/?q=user
https://domain.ext/pink/?q=user
https://domain.ext/green/?q=user
https://domain.ext/purple/?q=user
How might I set this up to allow clean urls and have login pages as such:
https://domain.ext/red/user
https://domain.ext/pink/user
https://domain.ext/green/user
https://domain.ext/purple/user
The .htaccess file is untouched. The apache config file /etc/httpd/conf.d/aliases.conf
contains:
Alias /blue /var/www/html
Alias /pink /var/www/html
And inside of /var/www/html/sites/
I have folders
/var/www/html/sites/blue
/var/www/html/sites/pink
Can I accomplish this by editing the $baseurl
in each settings.php file and adding a redirect per site in .htaccess?