https and http - quick question for the legends

DebbieSprules

Senior Member
Joined
Mar 20, 2009
Messages
821
Reaction score
80
I posted this in the WH section but got not even a whisper...please dont hate me for re posting in the BH section. But I sense this is where most of the genuises live :)

I have changed my server and now my site is http://www not https://www.

All my seo efforts went to https

Now the serps still show the https links which are all dead - thus no traffic..

do I need to start all over again reposting these links?
 
Just set up in your hosting account a 301 redirect going from https://www to htttp://www
That way no matter where people find your link they will be redirected to the right place.

Btw, not a legend either but thanks regardless :D
 
Agreed - add a permanent 301 redirect - if you can do it through a .htaccess file all is good - or if not, do it through PHP (if you're running it)-

Code:
if(strstr("https", $myurl)){
   str_replace("https", "http", $myurl);  
   header("location: " . $myurl);
}
 
I thought GG hated 301s or am I thinking 401s?
 
...and you bloody are... thanks so much again... you even gave me the code :)

Gonna talk to my devs and see how much time they want to charge me for it :)
 
I think it's 401's you thinking of. G would rather prefer a 301 than a blank empty page when it crawls.
 
...and you bloody are... thanks so much again... you even gave me the code :)

Gonna talk to my devs and see how much time they want to charge me for it :)

Don't let them fleece you. It's a 5 minute job.

I found this snippet to put in your .htaccess file (best way to do it):
# Redirect HTTPS requests for non-secure folders to http
RewriteEngine On
RewriteCond %{SERVER_PORT} !80
RewriteRule ^(.*)$ h++p://www.mydomain.com/$1 [R=301,L]

on this interesting thread:
h++p://www.google.co.uk/support/forum/p/Webmasters/thread?tid=6a7fac6f81489bc2&hl=en
 
My server people said that I need to have an ssl installed again inorder for this to work... are they talking bollocks.
 
Back
Top