Paths with url variables can not be used as custom links
Phoenix2020 - November 4, 2009 - 12:46
| Project: | XML sitemap |
| Version: | 6.x-2.0-unstable5 |
| Component: | xmlsitemap_custom.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
I have some views that are filtered by variables in the url. For example:
www.mywebsite.com/hotels?city=london
www.mywebsite.com/hotels?city=miami
...
I want to insert some of these urls as custom links into XML-Sitemap 2. But I can only insert the path "hotels". If I want to insert the path "hotels?city=london" for example, I get the following error:
The custom link hotels?city=london is either invalid or it cannot be accessed by anonymous users.
Is there a way to insert such paths?

#1
Ugh, adding query support to the custom links isn't really going to be easy. It might be easier and better for you to make your view paths work like
hotels/city/londonor something similar. I'm going to have to leave this as postponed for now.