Tagged: Google, search console
I’m getting search console errors (Indexed, though blocked by robots.txt
) for this page:
https://runsmarter.online/?s={search_term_string}
I don’t think it’s a huge deal, but I’d like to keep Search Console clean. What solutions would you advise?
Thanks!
Hey Daniel,
Thank you for the inquiry.
Indexing is already disabled for the search page as defined in the following meta tag.
<meta name="robots" content="noindex, follow">
Have you tried revalidating the changes or fix in the Search Console?
Best regards,
Ismael
Ismael, I just had this issue come up again. I’m getting another error with Search Console: “URL is on Google, but has issues”.
The URL in question is in the private content. The question is, what should I do? Should I remove the URL from Google, or turn on indexing?
Thanks!
Hi,
Thank you for the update.
You may need to create a rule in the robot.txt file to disallow URLs with the search parameter. Please check the following link to learn more about the robot.txt file.
// https://developer.mozilla.org/en-US/docs/Glossary/Robots.txt
The following rule should exclude search pages or any URLs with the search parameter.
Disallow: /*?s=*
Best regards,
Ismael