Open moorscode opened 6 years ago
Hmm. Some site setups (particularly early generation Single Page Apps) might use anchor states, in conjunction with the History API, to change the page / state of the page.
E.g., example.com/#about
and example.com/#products
might render different states.
We should probably strip this automatically, but leave an option/filter for people to disable that disabling...
Has any progress been made on this? Are anchor links stripped from the sitemap URLs?
Any news about this option?
Do you have an example site which is including these? Would be good to understand what's causing this in the wild.
Please give us a description of what happened.
This is highly likely coming from plugins (or themes) that hook into our sitemap flow.
How can we reproduce this behavior?
Context
Links containing a hashmark are essentially the same URL as without.
Todo
#....
additions in any sitemap URLswp_parse_url
with thePHP_URL_FRAGMENT
fragment