Google Webmasters i...
 
Notifications
Clear all

Google Webmasters indexing issues

6 Posts
2 Users
0 Reactions
209 Views
 Lost
(@lost)
Posts: 11
Active Member
Topic starter
 

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.

 
Posted : December 30, 2021 15:45
Fulcanelli
(@fulcanelli)
Posts: 29
Eminent Member
 

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?

 
Posted : December 30, 2021 16:06
 Lost
(@lost)
Posts: 11
Active Member
Topic starter
 

@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).

 

 
Posted : December 30, 2021 16:32
 Lost
(@lost)
Posts: 11
Active Member
Topic starter
 

Let me add here that checking the flagged pages inside google webmaster, i see that most of them are staring with /search......

 

 
Posted : December 30, 2021 16:38
Fulcanelli
(@fulcanelli)
Posts: 29
Eminent Member
 

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.

 
Posted : December 30, 2021 17:03
 Lost
(@lost)
Posts: 11
Active Member
Topic starter
 

Thanks, i did all the above and i will wait to see what happens.

 
Posted : December 30, 2021 19:44