How can I redirect HTTPS to HTTP in .htaccess for specific domains? -


we host number of websites on our server. our main site, let's call www.domain.com.

anyway, noticed other sites host, etc, point our main site (domain.com) when https:// put in front of domain. part of problem these indexing in google well.

i've wondering how can redirect these in htaccess - please help!

add these rules htaccess file in www.domain.com document root, preferably above other routing rules may there:

rewriteengine on rewritecond %{https} on rewritecond %{http_host} ^(www\.)?domain\.com$ [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [l,r] 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -