Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2008
    Location
    The Free South
    Posts
    175
    Plugin Contributions
    0

    Default Ask a Question and Bots

    Bots continue to crawl "Ask a Question" on my products even though I have removed that Mod from the site.

    www.thecablestation.com

  2. #2
    Join Date
    Mar 2008
    Location
    The Free South
    Posts
    175
    Plugin Contributions
    0

    Default Re: Ask a Question and Bots

    Bump - Any suggestions?

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

    Default Re: Ask a Question and Bots

    Open your tpl_product_info_display.php

    Find is you are using the button....
    Code:
       <div id="askQuestion" class="biggerText">
       <?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id='
       . $_GET['products_id']) . '">' .
       zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) .
       '</a>'; ?></div>
    Change to
    Code:
       <div id="askQuestion" class="biggerText">
       <?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id='
       . $_GET['products_id']) . '" rel="nofollow">' .
       zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) .
       '</a>'; ?></div>
       <br />
       <br class="clearBoth" />
    Then add this to your robots.txt for Google and Yahoo

    Code:
    User-agent: Googlebot 
    /index.php?main_page=ask_a_question&products_id=*
    
    User-agent: Slurp 
    /index.php?main_page=ask_a_question&products_id=*
    ~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.

  4. #4
    Join Date
    Mar 2008
    Location
    The Free South
    Posts
    175
    Plugin Contributions
    0

    Default Re: Ask a Question and Bots

    Melanie, the problem is that I have removed all of that already but Google and others are still crawling my site as if AAQ is still installed.
    This is typical of what I see on Who is Online:
    Session ID:
    Host: crawl-66-249-70-102.googlebot.com
    User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
    /index.php?main_page=ask_a_question&products_id=2106

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

    Default Re: Ask a Question and Bots

    The code suggestion I gave you removes nothing..... It adds a nofollow on the link.

    The robots.txt adds the wild card crawl blocking for the ask a question pages.


    Then, if they still crawl you can add ask_a_question to your robots skip definition in your meta_tag.php

    ~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.

  6. #6
    Join Date
    Mar 2008
    Location
    The Free South
    Posts
    175
    Plugin Contributions
    0

    Default Re: Ask a Question and Bots

    Quote Originally Posted by mprough View Post
    The code suggestion I gave you removes nothing..... It adds a nofollow on the link.

    The robots.txt adds the wild card crawl blocking for the ask a question pages.


    Then, if they still crawl you can add ask_a_question to your robots skip definition in your meta_tag.php

    ~Melanie
    I understand the code suggestion, I just don't have that code on my site anymore.

    I had ask_a_question blocked in robots.txt already.

    I thought I had ask_a_question blocked in my meta_tags.php, but after checking it again it was missing. I have added that and see if that does the trick.

    I still don't understand how they can crawl something that isn't there. I redo my sitemaps on a regular basis.

    Thanks for all of your help.

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

    Default Re: Ask a Question and Bots

    Google will continue to crawl index & cached pages for up to 90 days... as they do not know it was removed or it was broken.

    Log in to Google webmaster tools and remove the urls =-)
    ~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
    Mar 2008
    Location
    The Free South
    Posts
    175
    Plugin Contributions
    0

    Default Re: Ask a Question and Bots

    Thanks again.

 

 

Similar Threads

  1. v139h Aligning my Ask a question and Add This buttons
    By Sharemmoments in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Aug 2012, 07:10 PM
  2. Ask a question 1.7
    By Kodam in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Apr 2007, 11:16 PM
  3. I give end, and now i ask for help database question
    By bradlawson in forum General Questions
    Replies: 0
    Last Post: 8 Mar 2007, 11:56 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