Original Poster
Cnut the Great

Re: Correct Code for removing https:// from indexing

A https page can be shown in google they are treated the same as http. With the redirection you are doing - redirect to the same page on http and users of the checkout shouldnt get the home page. Setting the redirect correctly should solve all your issues.
Community content may not be verified or up-to-date. Learn more.
All Replies (4)
What are the various methods that we can use to stop the https:// from indexing and getting our real page back.

Webado wrote a tutorial about this a while back and it might be some help. It explains how to do both site-wide https to http (which is not what you want) and selective https to http redirects (for certain specific pages) either in .htaccess or using php headers. 
Hi Chris

Before you get too focused on technical issues, I'd just like to add that going from https to http, or the other way around, generally won't noticeably change your pages' ranking. 


I see that it won't change page rankings, but what about all the links on sites that have https? Will you lose all those links or can you redirect to http?

For example, if I posted a link to Facebook that listed https://www.mysite.com/post-123/ and I want to remove my https to have the page just be http://www.mysite.com/post-123/, will it just pull up a 404 or do I have to redirect every single page/post to keep that link alive?

Thank you for your help...I've been looking all over the place to find out how to do this!
Hi Brent

To avoid confusion and get the best advice, please open your own thread and tell us what your actual site URL is.

Were these replies helpful?
How can we improve them?
This question is locked and replying has been disabled. Still have questions? Ask the Help Community.


Some community members might have badges that indicate their identity or level of participation in a community.

Expert - Google Employee — Googler guides and community managers
Expert - Community Specialist — Google partners who share their expertise
Expert - Gold — Trusted members who are knowledgeable and active contributors
Expert - Platinum — Seasoned members who contribute beyond providing help through mentoring, creating content, and more
Expert - Alumni — Past members who are no longer active, but were previously recognized for their helpfulness
Expert - Silver — New members who are developing their product knowledge
Community content may not be verified or up-to-date. Learn more.


Member levels indicate a user's level of participation in a forum. The greater the participation, the higher the level. Everyone starts at level 1 and can rise to level 10. These activities can increase your level in a forum:

  • Post an answer.
  • Having your answer selected as the best answer.
  • Having your post rated as helpful.
  • Vote up a post.
  • Correctly mark a topic or post as abuse.

Having a post marked and removed as abuse will slow a user's advance in levels.

View profile in forum?

To view this member's profile, you need to leave the current Help page.

Report abuse in forum?

This comment originated in the Google Product Forum. To report abuse, you need to leave the current Help page.

Reply in forum?

This comment originated in the Google Product Forum. To reply, you need to leave the current Help page.