How do you generate multiple sitemap.xml files for your Multiple Domains site?
Permalink Browser Info Environment
I see that in version 1.1, it is advertised that it is now possible to generate separate sitemap.xml files for each domain. How can I access this feature? I don't see anything about it in the documentation.
Type: | Discussion |
---|---|
Status: | In Progress |
This is not working for me: I have
- several country domains set up, each pointing to a C5 folder
- pretty URLs enabled
- deleted the static sitemap.xml
When trying to access countrydomain.tld/sitemap.xml, I get Concrete5's 404 message.
Do I need to do anything else?
- several country domains set up, each pointing to a C5 folder
- pretty URLs enabled
- deleted the static sitemap.xml
When trying to access countrydomain.tld/sitemap.xml, I get Concrete5's 404 message.
Do I need to do anything else?
Yes, this has not been added to the docs because we actually wanted to know whether anyone was even needing this feature by asking it.
It is really simple: just
a) remove the static sitemap.xml file from your site's root
b) enable pretty urls
Now it will dynamically create the sitemap for you for the domain you're browsing.
Best,
Antti / Mainio