Zen Cart Logo
Forums / General Questions / I Think I'm Telling Google To Ignore Me?

I Think I'm Telling Google To Ignore Me?

Locked

Views: 1,468

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
12 Aug 2009, 1:10 AM
#1
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

I Think I'm Telling Google To Ignore Me?

Hi All,

I submitted a sitemap to Google and its be quite some time, now Im investigating and I came across this looking at view source from the web developer firefox addon:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>Real Fair Trade Online, Fair Trade Carvings, Telephone Wire Baskets, African Art and Safari Theme Decor</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="cats, dogs, carved, elephant, masks, carvings, hand made, bali, africa, zebra, telephone wire basket, bear, dear, furniture, home decor, fair trade, fair pay, mouse, giraffe, african, art, crafts" /> <meta name="description" content="cats, dogs, carved, masks, elephant, carvings, hand made, bali, africa, telephone wire basket, zebra, bear, dear, furniture, home decor, fair trade, fair pay, mouse, giraffe, african, art, crafts" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="Real Fair Trade, TEMPLATE_DESIGN_TEXT" /> <meta name="generator" content="shopping cart program by Zen Cart™, <http://www.zen-cart.com> eCommerce" /> <meta name="robots" content="noindex, nofollow" />

Now I have not added this in here, and when looking at my meta_tags.php I had some code which told robots to ignore certain pages, I've since removed this but the code is still there?

How can I change it and also, why would it be set to this as I have not added this code anywhere!

I have found it in a few locations via the web developer toolkit, but I just want to understand if I delete it, and why it is there?

Thanks

Steve

Steve
Site Under Construction: adatglobal.com

12 Aug 2009, 2:32 AM
#3
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: I Think I'm Telling Google To Ignore Me?

Thanks Melanie.

I might be being a dumbass here (which is not unusual) - I have bug fixed the 3 below posts and none of them have solved it and I cant see anything else that relates?

Post #16 Symptom: Categories Meta Tags cannot be removed once added

Post #17 Symptom: Product Meta Tag leaving blank record

Post #31 Problem: Lookup of fields in products or products_description by products_id in the Admin

Thanks

Steve

Steve
Site Under Construction: adatglobal.com

12 Aug 2009, 2:34 AM
#4
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,293
Plugin Contributions:
39

Re: I Think I'm Telling Google To Ignore Me?

Didn't quite go far enough

Re: Known Bugs with v1.3.8
Symptom:
There's a bug in v1.3.8 which only shows when you have
Admin->Configuration->Layout Settings->Categories - Always Show on Main Page = 1

Solution:
To fix it, edit your /includes/init_includes/init_add_crumbs.php file, by adding the indicated code, as shown in the highlighted area:

if ($categories->RecordCount() > 0) {
  $breadcrumb->add($categories->fields['categories_name'], zen_href_link(FILENAME_DEFAULT, 'cPath=' . implode('_', array_slice($cPath_array, 0, ($i+1)))));
} elseif(SHOW_CATEGORIES_ALWAYS == 0) {
  // if invalid, set the robots noindex/nofollow for this page
  $robotsNoIndex = true;
  break;
}

PRO-Webs, Inc. since 2003 https://pro-webs.net/

12 Aug 2009, 3:13 AM
#5
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: I Think I'm Telling Google To Ignore Me?

Thanks Melanie...

This is quite the concern now. I have added the code as advised in the fix and its made no difference.

Added to this - my site should not be affected as in the admin my settings are and always have been:

Categories - Always Show on Main Page = 0

I'm bamboozled to be honest!

Steve

Steve
Site Under Construction: adatglobal.com

12 Aug 2009, 8:29 PM
#6
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: I Think I'm Telling Google To Ignore Me?

Hi Guys, have added the bug fix' but Im still not being indexed, this is a really serious issue for me. Ive listed all the areas where the noindex/nofollow occurs on my site - can I manually change these to something?

Im at this point beyond my technical level and there doesnt seem to be any information on how to fix this out there that works for me...

Steve

/home/trotford/public_html/realfairtrade/nddbc.html

Line #10 : <meta name="robots" content="noindex, nofollow" />

/home/trotford/public_html/realfairtrade/includes/init_includes/init_add_crumbs.php

Line #31 : // if invalid, set the robots noindex/nofollow for this page

Line #32 : $robotsNoIndex = true;

/home/trotford/public_html/realfairtrade/includes/languages/english/meta_tags.php

Line #57 : // Define which pages to tell robots/spiders not to index

Line #59 : define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');

/home/trotford/public_html/realfairtrade/includes/templates/forest_path/common/html_header.php

Line #31 : <?php //if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?>

Line #32 : <meta name="robots" content="noindex, nofollow" />

/home/trotford/public_html/realfairtrade/includes/templates/template_default/common/html_header.php

Line #30 : <?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>

Line #31 : <meta name="robots" content="noindex, nofollow" />

/home/trotford/public_html/realfairtrade/includes/templates/template_default/templates/tpl_zc_install_suggested_default.php

Line #25 : <meta name="robots" content="noindex, nofollow" />

Steve
Site Under Construction: adatglobal.com

12 Aug 2009, 8:45 PM
#7
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,293
Plugin Contributions:
39

Re: I Think I'm Telling Google To Ignore Me?

Please check your bug fix that you inserted the entire supplied code. The pages you listed are supposed to have the noindex, nofollow... the issue is the bug causing it on your main page.

Check the template thread also, as I remember some reporting that the template author changed the html_header.php causing this as well.

~Melanie

PRO-Webs, Inc. since 2003 https://pro-webs.net/

12 Aug 2009, 9:08 PM
#8
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: I Think I'm Telling Google To Ignore Me?

includes/templates/forest_path/common/html_header.php

Replace this:

stiggy100:

<?php //if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance') { ?> <meta name="robots" content="noindex, nofollow" />

With this:

<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
12 Aug 2009, 9:32 PM
#9
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: I Think I'm Telling Google To Ignore Me?

:clap::clap::clap:

Thank you so very much Melanie and Steve! I'm up and running - I tell you Amazon had better watch their backs now haha!

Steve

Steve
Site Under Construction: adatglobal.com