vezaynk / Sitemap-Generator-Crawler

PHP script to recursively crawl websites and generate a sitemap. Zero dependencies.
https://www.bbss.dev
MIT License
243 stars 93 forks source link

Little problems with & #75

Closed webapteka closed 6 years ago

webapteka commented 6 years ago

Hello!

I have url https://xn--80aknseecjj.xn--p1ai/reviews/index.php?act=id&msgid=1473770667.15

and in sitemap.xml a see:

https://xn--80aknseecjj.xn--p1ai/reviews/index.php?act=id&msgid=1473770667.15

I put this url to browser and have a 404 error (((

How to fix this problem?

Thank you!

vezaynk commented 6 years ago

This is expected. XML does not allow & and they must be replaced with &

Sitemap bots parse it properly.