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

wrong stylesheet with multiple domain xmlsitemaps

$
0
0

Hello,

I have domain.it and domain.com, where domain.it is the default site and domain.com the translated one.

When i create a multilanguage sitemap, everything works fine, except if i tick the "add a stylesheet" option.

The domain.com sitemap opened in the browser displays an error, with firefox ranting about the impossibility to open the stylesheet, but the source code is (almost) fine...
The problem is that it tries to add the stylesheet from the .it domain, like this:

<?xml-stylesheet type="text/xsl" href="http://www.domain.it/sitemap.xsl"?>

Using domain.com solves the issue.

It should be an easy thing, and i can try to fix it if you dont have time.. just point me to the right functions to save some time =)


Viewing all articles
Browse latest Browse all 1238

Trending Articles