Quantcast
Channel: Issues for XML sitemap
Viewing all articles
Browse latest Browse all 1238

use the $_SERVER[NAME] in case of multiple domain name for the same site

$
0
0

Dear all,

I have a drupal7 installation which is accessible by 2 different domains :
www.mysite.com and/or www.othersite.com

both lead to the same content.

Trouble withe xmlsitemap :
I can access to the sitemap, using either www.mysite.com/sitemap.xml, either www.othersite.com/sitemap.xml
The problem is that these 2 sitemaps show the same links
www.mysite.com/node/1 (considering that "Default base URL" = www.mysite.com)

I would like that www.mysite.com/sitemap.xml show links such as
www.mysite.com/node/1
and www.othersite.com/sitemap.xml show links such as
www.othersite.com/node/1

According to what I understood (I may not understood correctly) of this module, that would need 2 modifications :
1/ no more parameter "Default base URL" (or different use of it)
2/ no cache, or different way of caching (based on $_SERVER[NAME] recognition)

Thanks for your feedbacks.


Viewing all articles
Browse latest Browse all 1238

Trending Articles