WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Search Engines > Search Engine Optimization Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-25-2007, 06:48 AM
WebProWorld Member
 

Join Date: Oct 2007
Location: India
Posts: 86
vinay11111 RepRank -1
Default http and https issue

Hi,

I have to change my sites url from http:// to https. There are few queries in my mind:
  1. Will google treat this as new url.
  2. Will I lost my all PR value.
  3. Can it effect my current rankings.
  4. Will there be any issue like duplicate content.
  5. If answer to any of the above is YES then is 301 a sloution or I need t do anything else?
Looking forward for your suggestions and opinions.
__________________
Regards,
Vinay SEO Expert | Payday Loans Online
Reply With Quote
  #2 (permalink)  
Old 10-25-2007, 10:45 PM
Manpasand's Avatar
WebProWorld Pro
 

Join Date: Sep 2003
Location: SprightlyMedia.Com
Posts: 189
Manpasand RepRank 0
Default Re: http and https issue

View this thread.
Reply With Quote
  #3 (permalink)  
Old 10-26-2007, 09:38 AM
incrediblehelp's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jan 2004
Location: Live in Cincy Now
Posts: 7,650
incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4
Default Re: http and https issue

More here:

New HTTPS cannonical problem
Reply With Quote
  #4 (permalink)  
Old 10-26-2007, 11:58 AM
WebProWorld Member
 

Join Date: Aug 2007
Location: Costa Rica
Posts: 38
webmax RepRank 0
Default Re: http and https issue

Vinay, supposedly your site is the same if it's http or https. We have a site, spauno.com, which is all secure. Save the index file as php and add this code at the beginning:
<?
if(!isset($HTTP_SERVER_VARS[HTTPS]))
{
$FULL_URL = "https://".$SERVER_NAME.$PHP_SELF;
header("Location: $FULL_URL");
}
?>
There is no difference if you type http://www.spauno.com/anypage.htm or https://www.spauno.com/anypage.htm, it will always take you to https. Don't use absolute URLs in the programming because you'll have the problems you were asking about.
The correct thing is to secure only a few pages in the site, like your contact form and such. If you are interested in doing this, I can send you the code in a while. We actually have to make the change for spauno because https is slower and we don't want all the site to be slow.
Reply With Quote
  #5 (permalink)  
Old 10-27-2007, 08:00 AM
WebProWorld Member
 

Join Date: Oct 2007
Location: India
Posts: 86
vinay11111 RepRank -1
Default Re: http and https issue

THanks all of you for your response.

@ webmax

YEs sure please send me the code soon !!!
__________________
Regards,
Vinay SEO Expert | Payday Loans Online
Reply With Quote
  #6 (permalink)  
Old 10-27-2007, 02:39 PM
WebProWorld Member
 

Join Date: Aug 2007
Location: Costa Rica
Posts: 38
webmax RepRank 0
Default Re: http and https issue

Vinay,
The code I gave you yesterday works for securing the entire site under https. Yesterday our site was all secure, but today it has a new code in the index file, and I'm not totally sure that it's necessary any more:
<?
if(isset($HTTP_SERVER_VARS[HTTPS]))
{
$FULL_URL = "http://".$SERVER_NAME.$PHP_SELF;
header("Location: $FULL_URL");
}
?>

That means that only certain pages will be secured. The chosen pages have this at the beginning (maybe it works using just this, with no server markup on the index):

<?
include("class/DataBase.php");

if(!isset($HTTP_SERVER_VARS[HTTPS]))
{
$newurl = "https://www.spauno.com/form/paso_1.php";
header("location: $newurl");
if(!isset($HTTP_SERVER_VARS[HTTPS]))
}
?>

The file paso_1.php is the one being secured. There are other secure files, all php.
However, if you visit an ordinary file that does not have server markup (for example Massage Experiences) AFTER you have visited a secure one, it stays in https mode. It shouldn't and I don't know why. Maybe it's because of the php code on the index file... I'll play with it on Monday and let you know what happened.

Does someone else have any suggestions on how to fix this?
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to change all http to https, is it ok? AjiNIMC Search Engine Optimization Forum 4 07-29-2006 09:51 PM
HTTP vs HTTPS amar Google Discussion Forum 4 06-14-2006 12:54 AM
http:// and https:// Problem richkoi Internet Security Discussion Forum 15 04-24-2006 06:44 PM
Will https: secure site create issue for SEO??? etechraj Search Engine Optimization Forum 1 09-21-2004 09:23 AM
HTTP vs HTTPS speed computergenius IT Discussion Forum 1 04-16-2004 10:33 AM


Search Engine Optimization by vBSEO 3.2.0