Quote:
Originally Posted by simplyDone
Hi
I have a site with https versions of other pages on my site which are are for logged in users. Google has indexed these https pages.
How do I stop Google from indexing these https pages, so that only the http versions of the pages are indexed, and so avoid any duplicate content penalties?
Thanks in advance for you help.
|
When a visitor enters the right login and password, create a cookie which will tell your site engine to allow https. If the cookie doesn't exist, then redirect anyone who is accessing your site through https to an ordinary http.
Simple.
Here is a basic info for 301 redirs:
http://www.webconfs.com/how-to-redirect-a-webpage.php
Ah, I forgot... The login form should be accessed through the <form> HTML entity instead of ordinary link.