Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default 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&trade;, 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
    Last edited by stiggy100; 12 Aug 2009 at 02:14 AM. Reason: missed out info
    Steve
    Site Under Construction: adatglobal.com

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

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

    Yep, you are... here's the fix

    http://www.zen-cart.com/forum/showthread.php?p=697924

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default 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:
    Code:
        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 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default 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,a ccount_password,address_book,advanced_search,advanced_search_result,checkout_suc cess,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,c ookie_usage,create_account_success,contact_us,download,download_timeout,customer s_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,inf o_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_che ck');



    /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

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default 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 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  8. #8
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

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

    includes/templates/forest_path/common/html_header.php

    Replace this:

    Quote Originally Posted by stiggy100 View Post
    <?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 Code:
    <?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 ?>

  9. #9
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

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



    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

 

 

Similar Threads

  1. v151 Google Merchant Feed - I think I need to use a spreadsheet
    By mrcastle in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Apr 2015, 12:39 AM
  2. New Install -- telling me to run zc_install
    By Rashid04 in forum Installing on a Windows Server
    Replies: 12
    Last Post: 8 Aug 2011, 10:44 PM
  3. CC module telling me CC number is wrong
    By vickichiki in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 19 Oct 2007, 02:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg