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 indexing site as https - certificate error
Old 09-06-2010, 07:49 AM Google indexing site as https - certificate error
shonkyboy's Avatar
Extreme Talker

Posts: 226
Name: Chris
Location: West Yorks , UK
Trades: 0
Hi - I have a strange problem that i havent some across before. at this site www.superceramics.co.uk - everything was ok up until a few days ago and if you now do a search in Google - the site shows up as https instead of http and throws up a certificate error (there is no certificate on there as it has never been https) - Bing, Yahoo & co all show the correct domain when typing in the phrase superceramics into them and there is no problem - the issue seems to be specific to Google and i have no idea why at this point and wondered if anyone can throw some light on this please.
Thanks in Advance.
__________________

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

Last edited by shonkyboy; 09-06-2010 at 07:50 AM..
shonkyboy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-06-2010, 08:01 AM Re: Google indexing site as https - certificate error
Banned

Posts: 3
Name: sakura
Trades: 0
hi...

Is this true for HTTPS error in Google, is it means what is solutions...??? meet again
raansakura is offline
Reply With Quote
View Public Profile Visit raansakura's homepage!
 
Old 09-07-2010, 12:24 AM Re: Google indexing site as https - certificate error
Extreme Talker

Posts: 219
Name: Tom
Trades: 0
Your site suffers from URL canonicalization issues. All it takes is for ONE site to link to your site w/ HTTPS and your entire site can get indexed under HTTPS. You have a similar problem with non-www. If I request superceramics.co.uk (without the www), you site renders the page.

You need to 301 redirect ALL requests for non-www to www (if you want www to be your canonical or preferred form of the URL). You also need to 301 redirect ALL requests for https to http (assuming you have no pages that require HTTPS).

If you are hosted on Linux/Apache then it's very simple to do so with a couple of rules in your .htaccess files used by Mod_Rewrite.

For example, the following will redirect all non-www to www:

Quote:
RewriteCond %{HTTP_HOST} ^superceramics.co.uk$ [NC]
RewriteRule (.*) http://www.superceramics.co.uk/$1 [R=301,L]
and the following should redirect all requests for https to http:

Quote:
RewriteCond %{HTTPS} on [NC]
RewriteRule (.*) http://www.superceramics.co.uk/$1 [R=301,L]
If you place these in the .htaccess in the root of your web, it should correct your problems (assuming you are hosted on Linux/Apache).
__________________

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

Social-Media is offline
Reply With Quote
View Public Profile
 
Old 09-07-2010, 11:55 AM Re: Google indexing site as https - certificate error
shonkyboy's Avatar
Extreme Talker

Posts: 226
Name: Chris
Location: West Yorks , UK
Trades: 0
Hi thanks for that - i did change the htaccess file accordingley - but it doesnt seem to work - the .htaccess file is now as follows - but when you put https in it doesnt redirect to http for some reason.


##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


################################################## ###
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
################################################## ###
## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks
#
mod_rewrite in use
RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)
RewriteBase /
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} on [NC]
RewriteRule (.*) http://www.superceramics.co.uk/$1 [R=301,L]

########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
__________________

Please login or register to view this content. Registration is FREE
shonkyboy is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Google indexing site as https - certificate error
 

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.14511 seconds with 12 queries