Developer forum

Forum » CMS - Standard features » Domains and sitemap.xml

Domains and sitemap.xml

Tymen NNM
Reply

Hello,

Currently we're working on a multi language DynamicWeb based website. We're having an issue with the language-websites -> domain setup and the resulting sitemap.xml though.

We're supporting 4 langauges on the website, so we have 4 language-websites:

English website (main)

- German website

- Dutch website

- French website

We've attached multiple domains to the different websites, for backwards compatibility purposes, but on the site we'de like to use just a single domain/url structure. The domain setup of the sites in DynamicWeb:

English website - ourdomain.eu, www.ourdomain.eu

- German website - ourdomain.eu, www.ourdomain.euourgermandomain.dewww.ourgermandomain.de

- Dutch website - ourdomain.eu, www.ourdomain.euourdutchdomain.nlwww.ourdutchdomain.nl

- French website - ourdomain.eu, www.ourdomain.euourfrenchdomain.frwww.ourfrenchdomain.fr

When navigating to the website using ourdomain.eu, it will show the French website (because it's the last in line?). That's not what we want. So we've implemented some custom redirection based on the user's browser language, redirecting to the most suitable version of the website e.g. ourdomain.eu/en-us, ourdomain.eu/de-de, ourdomain.eu/nl-nl, ourdomain.eu/fr-fr where the en-us version is default.

Then we've added some more custom redirection so that ourgermandomain.de will redirect to ourdomain.eu/de-deourdutchdomain.nl to ourdomain.eu/nl-nl and ourfrenchdomain.fr to ourdomain.eu/fr-fr.

So for users this is the proper experience.

Yet, when requesting the site's sitemap: ourdomain.eu/sitemap.xml, it only contains the sitemap of the French website (again, because it's the last in line?). This should return the sitemap contents of all website languages.

How can we achieve this?

Kind regards

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Tymen

I have no solution for this... We are looking into a more manageble solution to these kind of issues with DW9.

BR Nicolai

 
Tymen NNM
Reply

Hi Nicolai,

Thanks for your reply.

Can you imagine a custom dynamic sitemap implementation in .NET we can hook into DW, outputting the sitemap of all the language sites?

Kind regards

 
Nicolai Høeg Pedersen
Reply

Hi Tymen

You can extend Dynamicwebs Sitemap.xml:

http://devierkoeden.com/articles/extending-the-google-sitemap-feature-with-custom-content.aspx

BR Nicolai

 

You must be logged in to post in the forum