contributte / menu-control

🍔 Menu and breadcrumb components for Nette framework (@nette)
MIT License
29 stars 20 forks source link

Sitemap location URL issue #50

Closed panrobert closed 3 years ago

panrobert commented 4 years ago

Hey there, I'm new to using menu-control, but when I try generate my sitemap, it always generates location as: <loc>http://127.0.0.1http://127.0.0.1/ramico/</loc> or <loc>http://fuze-technology.comhttp://fuze-technology.com/contact</loc>. Every location is like this.

I'm using version 2.2.1 system_info

What is it ? Thnak you :-)

foxycode commented 4 years ago

I need more info to help you. Paste your composer.json and presenter, where you're using sitemap please.

foxycode commented 3 years ago

@panrobert Will be fixed in next version. For now, you can use getRealLink() instead of getRealAbsoluteLink() in your sitemap template.