: Force www. on multi domain site and retain http or https I am using CakePHP which already contains an .htaccess file that looks like: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule
I am using CakePHP which already contains an .htaccess file that looks like:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/ [L]
</IfModule>
I want to force (unless it is a subdomain) to avoid duplicate content penalties.
It needs to retain http or https
Also
This application will have multiple domains pointing to it. So the code needs to be able to work with any domain.
More posts by @Fox8124981
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.