You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my "news" collection, as well as standard entries, I use entries that redirects to other content.
These should be excluded from the sitemap, because they're on an external site, but currently they are listed with everything else, which causes Google Searchconsole to complain about them.
Steps to reproduce
Pick a collection.
Go to the collection settings.
In the "Content model" section, find "Links" and set "Entries in this collection may contain links (redirects) to other entries or URLs" to yes.
Create an entry (link) in this collection with the URL of a third party site.
Look at the sitemap and you will see it's been added.
Thanks for this... I've release 2.3.7 which addresses this, on the condition of:
blueprint called "link" (which Statamic expects)
property called "redirect"
that value is an external URL
This trio of checks needs to happen because relying on the blueprint name alone isn't enough - Statamic expects a "link" blueprint and a "redirect" property.
Bug description
In my "news" collection, as well as standard entries, I use entries that redirects to other content.
These should be excluded from the sitemap, because they're on an external site, but currently they are listed with everything else, which causes Google Searchconsole to complain about them.
Steps to reproduce
Environment and versions
Additional details
No response
The text was updated successfully, but these errors were encountered: