Mobile app version of vmapp.org
Login or Join
Gonzalez347

: 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 ^(.*)$

@Gonzalez347

Posted in: #Apache #Http #Redirects #Wordpress

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

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gonzalez347

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

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.

10% popularity Vote Up Vote Down


 

@Sent6035632

Add the following meta tag in your HTTPS pages

<meta name="robots" content="noindex,nofollow">

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme