Plugin Contributor
Savvas
(@savvasha)
Hi @3r3ct0r ,
With a 3nd party SEO plugin like Yoast SEO you can control what to be indexed by Google.
Thanks,
Savvas
Indeed, you can use an SEO plugin to remove them or use a robots.txt file.
I’m closing this one as this isn’t a SportsPress issue per see (you can fix it with available tools for SEO).
Thanks!
Thanks but no, we can’t use Yoast to use noindex in sp_result .
All other options are configurable, except this sp_result URL, which displays nothing in particular.
I had already checked before posting.
What does this parameter correspond to, since it does not actually display results?
In addition, robots.txt does not prevent indexing of pages, noindex is no longer supported by google in this file.
Not being able to put a parameter via Yoast, my question seems legitimate ^^
-
This reply was modified 4 years, 4 months ago by
3r3ct0r.
Hi there!
Thanks for your reply.
I think my wording was inaccurate. Since this isn’t a feature we have at the moment (the ability to remove these pages) then this isn’t a support request, this is a feature request.
Maybe Savvas has another idea on how to solve this, but unfortunately, we can’t help via support for features we don’t have.
It is certainly a legitimate question, just not a support issue.
Another idea is adding custom templates for these items (as per WP guidelines on how to create templates for custom post types) and use noindex or even 301 redirects, or maybe a plugin for redirects for all these items.
Thanks!
Plugin Contributor
Savvas
(@savvasha)
Hi @3r3ct0r,
sp_result is a custom post type that is used “internally” by SportsPress for storing the results of an event etc. Like this “secondary cpt” there are more in SportsPress. i.e. sp_outcome, sp_column, sp_metric, sp_spec, sp_performance etc..
Those custom post types are not linked in any page created by SportPress. So it is impossible for Google to discover and index them. Only if for some reason you include them in your sitemap. But even this is a little bit tricky to do it. Yoast SEO for example, will not include any of those secondary cpt to your sitemap.
For some reason Google actually indexed sp_result links. You need to remove them manuall using the Google Search Console tool. Look here for more info https://support.google.com/webmasters/answer/9689846
Thanks,
Savvas