Hello.
I run Osclass 5 with Osclasswizards theme. And thanks for the tips to make that legacy theme to somehow work with 5.
I have an issue. Google webmaster informs me that while i submit an XML sitemap, some pages are marked Noindex.
Not sure where that comes from and what it means. Any ideas?
many thanks and again you are doing a great job here.
Do you use a sitemap plugin and if so what plugin is that. Also Google webmaster notice should say that you submited some pages with your sitemap WHILE some of those are noindex.
Am i correct?
@fulcanelli Yes that is the message/alert from Google webmaster.
I use some old plugin that seems to work fine, apart from the fact that it doesn't produce a complete sitemap (it was always like that, even with 3.9).
Let me add here that checking the flagged pages inside google webmaster, i see that most of them are staring with /search......
Ok, this comes from Osclasswizards theme.
Open search.php file, at the start there is a
// meta tag robots if( osc_count_items() == 0 || stripos($_SERVER['REQUEST_URI'], 'search') ) { osc_add_hook('header','osclasswizards_nofollow_construct'); } else { osc_add_hook('header','osclasswizards_follow_construct'); } osclasswizards_add_body_class('category');
Change the "osclasswizards_nofollow_construct" to "osclasswizards_follow_construct"
and you are done. Not the best way to do that but the easiest. And ask google webmaster to verify the fix.
Thanks, i did all the above and i will wait to see what happens.