Zen Cart Logo
Forums / General Questions / robots.txt

robots.txt

Views: 1,443

Results 1 to 4 of 4
7 Apr 2011, 1:12 PM
#1
thatgirlboo avatar

thatgirlboo

New Zenner

Join Date:
Oct 2010
Posts:
15
Plugin Contributions:
0

robots.txt

apologies if this is in the wrong section

when I'm using the metatag thing on seo centro its coming up with Robots: Spider robots are not allowed to spider the web page.

But it seems to be only on product pages

It was fine before the weekend. How do I fix this?

Do I even need this on my site or would I be better off with a sitemap submitted to google?

7 Apr 2011, 2:03 PM
#2
thatgirlboo avatar

thatgirlboo

New Zenner

Join Date:
Oct 2010
Posts:
15
Plugin Contributions:
0

Re: robots.txt

ok I've done some extra digging around and found I have a no index no follow meta name thing going on. How do I get rid of this? I've seen solutions for v1.3.8 but I'm using v1.3.9f

7 Apr 2011, 2:36 PM
#3
thatgirlboo avatar

thatgirlboo

New Zenner

Join Date:
Oct 2010
Posts:
15
Plugin Contributions:
0

Re: robots.txt

is it anything to do with this? (in my html_header.php)

<?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 } ?>

If I take out the "$robotsNoIndex === true" part will this work and will it mess up any other part of my site?

9 Apr 2011, 5:44 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: robots.txt

If you're truly using v1.3.9, then you do not need to touch the html_header.php file.