Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Reply
Google index http vs https
Old 12-28-2009, 04:28 PM Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
Hi,
I just notice today that my site index at google add repeated url with the http and https.

http://www.google.co.uk/search?hl=en...&start=20&sa=N

My site use only http, then when I click in the google index with the https the page don't open.
Can any one tell me why is this happening and if this is a problem how to resolve this???

I add a similar post to the Google forum but add no reply yet.
Thanks
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
 
Register now for full access!
Old 12-28-2009, 04:42 PM Re: Google index http vs https
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Somewhere there is a link that has https as the protocol, and your server is set to serve the same content on port 80 (http) and on port 443 (https).

If all your URIs are relative then they will "normalised" to use whatever protocol was used initially.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-28-2009, 05:06 PM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
Hi,
If the problem was a link there a way to identify the link that make this??
Because the https url is caming up on the seach results and it returns certificate error of the web site???
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Old 12-28-2009, 05:29 PM Re: Google index http vs https
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Confirmation that it is a link in the cache page

And if you do not use https: at all, here's how to redirect https To http
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-28-2009, 06:05 PM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
Thanks for your advise.
My server doesn't not acept the RewriteEngine on, but i sent a querie to the sever help and I think they will send me the rith code for the .htaccess.

Any way nobody found the site on Google so that is not a really big problem then.
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Old 12-28-2009, 06:32 PM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
This was the code that I should add to the .htaccess:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

The server help just informed me that I only need to remove "Options +FollowSymlinks" from the above.

Now the site is working well with that code on the .htaccess file.
But the links when clicked the error cames up still.
Does the above code should redirect to the rigth Url or the code is just to tell the serach engines not to follow the https and then in some time the https index pages will be removed from Google????
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Old 12-28-2009, 06:42 PM Re: Google index http vs https
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Just tried it now and it redirected to the http site straight away, if it isn't working for you, it's probably a browser caching issue.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-28-2009, 06:44 PM Re: Google index http vs https
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
And it may take several weeks for the index to be updated fully but it will happen, and with the redirect in place it will make no difference to real visitors.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-28-2009, 07:13 PM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
I clear the cahe of my pc and it doesn't redirect...

This is the code that I add to the htaccess:

RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

Is there something wroung???
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by xela1966; 12-30-2009 at 05:58 AM..
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Old 12-28-2009, 09:12 PM Re: Google index http vs https
Extreme Talker

Posts: 185
Trades: 0
You can find where the link came from with google webmaster at http://www.google.com/webmasters verify your site and after some time you can see the links that google found to your site.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
weker is offline
Reply With Quote
View Public Profile
 
Old 12-29-2009, 05:28 AM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
In the webmasters tools it will be very dificult to find that link.
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by xela1966; 12-29-2009 at 05:33 AM..
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Old 12-29-2009, 06:49 AM Re: Google index http vs https
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
https ://ttaxi.pt/guest_book/faro_taxi_reviwes.php


This one works perfectly for me if someone else would like to try.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 12-29-2009 at 06:51 AM..
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-30-2009, 05:36 AM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
Hi,

Now its everything ok the code is working on the htacess for both.

http://ttaxi.pt

and

https://ttaxi.pt

I just had to add a ssl cerificate for my server to make it work.
I have now the 2 ports installed on my server.

Thanks for your help
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Old 01-04-2010, 11:35 AM Re: Google index http vs https
Average Talker

Posts: 27
Location: Charlotte, NC
Trades: 0
If you isolate ALL pages on your site that need HTTPS to a single folder (or subdomain like secure.example.com) on your site and keep all HTTP pages outside of that folder it's very easy to use .htaccess to insure that all requests for pages in that folder or subdomain are HTTPS and all others are HTTP.

Unfortunately most don't think that far ahead.

PS: You have other URL canonicalization issues in addition to http vs. https. You have a similar problem w/ www vs. non-www... and also showing index.html vs. hiding index.html. These URL canonicalization issues lead to duplicate content and split page rank/link juice.

I can still reference your home page (and other pages on your site) several ways like:

http://ttaxi.pt/
http://ttaxi.pt/index.html
http://www.ttaxi.pt/
http://www.ttaxi.pt/index.html

Search engines rank URLs. They typically see each unique URL as a different page. So if 10 sites link to each of the above URLs, they see 4 pages each w/ 10 inbound links... NOT a single home page w/ 40 inbound links.

Each page on your site should have a single URL used to reference it. This URL is the canonical (preferred) URL. All other non-canonical URLs that can be used to render the same page should be 301 redirected to the canonical URL.

This means you need to make several decisions like:

www vs. non-www
show default documents or hide default documents (index.html)
show trailing '/' when referencing folders w/ default documents or hide the trailing '/'
http vs. https (which I think you've already fixed)
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Last edited by Canonical; 01-04-2010 at 11:47 AM..
Canonical is offline
Reply With Quote
View Public Profile
 
Old 01-04-2010, 12:57 PM Re: Google index http vs https
xela1966's Avatar
Super Talker

Posts: 135
Name: Baptista
Location: Alvor, Algarve Portugal
Trades: 0
hI Canonical thanks for the advert.

I don't know if this is cousing my site not to rank but any way I add more code to the htacess and know the site is redirecting to the Url that I want to use.
RewriteEngine on

*To avoid the https:
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^(.*)$ http://domain.***/$1 [R=301,L] (to do this you need to have a ssl on the apache server installed.)
*To avoid the www. :
RewriteCond %{HTTP_HOST} !^ttaxi.pt$
RewriteRule ^(.*)$ http://domain.***/$1 [R=301]
*To avoid the domain.***/index.html and redirect to the http://domain.***
RewriteCond %{the_request} ^[A-Z]{3,9}\ /.*index\.html\ HTTP/
RewriteRule ^(.*)index\.html$ http://domain\.***/$1 [l,r=301]


It looks mutch better now.
__________________
Algarve Holidays
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by xela1966; 01-04-2010 at 04:52 PM..
xela1966 is offline
Reply With Quote
View Public Profile Visit xela1966's homepage!
 
Reply     « Reply to Google index http vs https
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45846 seconds with 12 queries