Support Forums - Classified Ads Script Osclass

General osclass questions => Themes => Topic started by: pipetko on May 19, 2024, 11:50:09 PM

Title: Index/noindex etc tags problem
Post by: pipetko on May 19, 2024, 11:50:09 PM
So.. here is again problem with tags. I nticed that when I sow errors when added Dissalow tag and google indexed pages that ware Dissalowed, bt....on one of my clietns websites wth theme Epsylon, hhavent checked other websites with other themes... But I assume its the same.

So.. this code in head.php
<?php if(!osc_is_search_page())  { ?><meta name="robots" content="index, follow" /><?php } ?>
<?php if(!osc_is_search_page())  { ?><meta name="googlebot" content="index, follow" /><?php } ?>

even if it is specified for search it is making all even inside like dashboard, user profile, nw ad pages indexable. Now google is indexing them. I see that on the php files for inside ( hidden non public ) pages thre is noindex, nfollow tags but apperantly they do not work. The entire website depends only on those two rows. If I remove them all pages have no canonical, index, follow tag.
Title: Re: Index/noindex etc tags problem
Post by: MB Themes on May 21, 2024, 07:11:40 AM
Most of search page are excluded from indexing to avoid duplicated content.
Just "nice" urls are indexed like category URL.