: HTTPS To http redirect issue. How to overcome? Have already seen suggests on how to rewrite https to http. currently using this technique : RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$
Have already seen suggests on how to rewrite https to http. currently using this technique :
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ www.mysite.com/ [L,R=301]
RewriteRule ^(.*)$ http ://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Problem : I am currently on Hostgator VPS and have found Google indexing my HTTPS pages. Weird for me as never bought an SSL. My site is a blog only. When spoke to Google forums, ( productforums.google.com/forum/#!msg/webmasters/2Hz46t44nwk/7voZWudFtAQJ ), they say I should redirect https to http. Now when I have redirected this using the above method, I am still getting SSL warning in browsers. And found that Google is still indexing my new pages with https.
I feel as I do not have an SSL, adding a redirect in https doesn't work. So if Google indexes my https page, then I should go and buy SSL, and tell there to redirect https to http. Why would I do that? Please help me, reduced the traffic by nearly 30% because of this.
Have even told search engines to go to this file (disallows everything) if they are on https.
Options +FollowSymlinks
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt
More posts by @Gonzalez347
2 Comments
Sorted by latest first Latest Oldest Best
Disable or remove SSL from Plesk ( support.hostgator.com/articles/ssl-certificates/ssl-setup-use/how-to-setup-and-use-a-shared-ssl-windows ), submit a clean sitemap to Google Webmaster Center. I would avoid creating redirects if you can solve this by disabling SSL and letting Google re-index your site properly.
Add the following meta tag in your HTTPS pages
<meta name="robots" content="noindex,nofollow">
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.