-
AuthorPosts
-
December 9, 2024 at 2:20 pm #1473240
Hi,
I have a problem with archive pages of categories. They show a noindex in the header.
In the general settings of wordpress for reading the option „prevent search engines from indexing“ ist NOT chosen. (While testing I had this option chosen.)
In the SEO-Tool the categories are set to be indexed. In source code you can see this at the top.
Do you have any idea how to fix this?Thank you.
Best regards,
VeraDecember 10, 2024 at 12:37 pm #1473325Hey Vera,
Thank you for the inquiry.
Looks like you’re using the RankMath plugin. Please go to the Admin > Rank Math > Titles & Meta, open the Archives tab and make sure that all archive types are set to index, follow. Let us know of the result.
Best regards,
IsmaelDecember 10, 2024 at 12:55 pm #1473330Hi Ismael,
the settings for Rank Math are fine. I checked that in the source code.
In line 17 you can see that Rank Math settings show “index”.
The problem is above in line 5. There is a noindex that comes before the Rank Math settings.Best regards,
VeraDecember 10, 2024 at 2:07 pm #1473355Hi,
Thank you for the info.
Please try to add this filter in the functions.php file:
function avf_disable_all_meta_tags( $meta, $robots, $blog_public ) { return ''; } add_filter( 'avf_set_follow', 'avf_disable_all_meta_tags', 10, 3 );Best regards,
IsmaelDecember 10, 2024 at 2:52 pm #1473361Hi Ismael,
Great! That worked. I can see it in the source code an Google accepts now the request for indexing.
Thanks a lot!
Best regards,
VeraDecember 10, 2024 at 4:51 pm #1473367Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardDecember 10, 2024 at 6:44 pm #1473375Hi Rikard,
You can close the topic.
Thank you for your support.Best regards,
VeraDecember 10, 2024 at 8:34 pm #1473378Hi,
Thanks for letting us know. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Problem with noindex on category archives’ is closed to new replies.
