Support Forums - Classified Ads Script Osclass
Osclass theme support => Stela Osclass Theme => Topic started by: oneloveb on December 29, 2020, 01:07:59 PM
-
I want to stop google bot to be crawling on my send to a friends page and im-create-thread as Items crawling
Site.com.ng/item/send-friend/7450
Site.com.ng/im-create-thread/1163
Thanks
-
Page must have noindex noffollow meta attribute or be blocked by robots.txt
-
Please can I paste this code into item-send-friend.php to stop the crawling
<?php osc_current_web_theme_path('head.php') ; ?>
<meta name="robots" content="noindex, nofollow" />
<meta name="googlebot" content="noindex, nofollow" />
</head>
<body id="body-custom">
<?php osc_current_web_theme_path('header.php') ; ?>
<?php osc_render_file(); ?>
<?php osc_current_web_theme_path('footer.php') ; ?>
</body>
-
Only condition is that it must be in head
-
Thanks
-
I found out the below code already exist on the item-send-friend.php, so please why the Site.co/item/send-friend/7450 is all over my search console instead of the items
<head>
<?php osc_current_web_theme_path('head.php') ; ?>
<meta name="robots" content="noindex, nofollow" />
<meta name="googlebot" content="noindex, nofollow" />
</head>
-
Please I am still waiting for your response I want stop page that are not submit in sitemap but index by google
-
If head contains noindex, nofollow, google should not index it. There is anything else that could be done.