Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Warning: Since sitemap support includes a function to determine through heuristics if a URL is a product details page URL, I felt it made sense to use that function also for an unrelated feature: for
crawl_strategy=automatic
to work likecrawl_strategy=direct_item
on matching URLs. While I think that’s how it should be in a world where the heuristics function is quite accurate, the current function is very naive, and I’m not sure how much more we can improve it, so I think it might be better to revert that change. But I thought it was worth discussing first over some code.