View Single Post
Old 10-06-2007, 01:13 AM   #5 (permalink)
janhvizdak
Contributing Member
 
janhvizdak's Avatar
 
Join Date: 03-22-07
Location: Sicily
Posts: 381
iTrader: 0 / 0%
janhvizdak is liked by somebodyjanhvizdak is liked by somebodyjanhvizdak is liked by somebody
Quote:
Originally Posted by simplyDone View Post
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.
__________________
50% per sale, payments upon request, no fees: http://www.aqua-fish.net/affiliate.php

Last edited by janhvizdak; 10-06-2007 at 01:19 AM.. Reason: added one line
janhvizdak is offline   Reply With Quote