Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Have just installed this package but each xml loc node is displaying as
Any idea why this is happening?
Have now installed razor version and get a diifererent problem
Will start another post so please ignore this one.
Tried to delete this post but no joy.
Actually, I would like to hear if there is any solution to this :).
I am experiencing the same problem and I am not using razor.
Does anyone have a suggestion as to what I could do the make it stop showing the doubled-up urls?
Whats the structure of your content tree and what version Umbraco are you using?
I honestly cant remember what I did to cure this but if you tell me a little more about your set up it might jog a memory somewhere
What's the structure of your content tree and what version Umbraco are you using?
I am using umbraco v 4.8.0 (Assembly version: 1.0.4583.15483).
The structure looks like this:
I can see that if I remove the <xsl:value-of select="$urlPrefix" /> in the xslt file, it displayes fine.I'm just not sure of what the point of that line is and if I'm ruining some of the logic by doing so.
What I mean is that for example, this bit of code seems to output what I want:
<!--<xsl:value-of select="$urlPrefix" />-->
<xsl:value-of select="umbraco.library:NiceUrl(@id)" />
But what is the point of that urlPrefix in front of a NiceUrl? What am I missing?
Just found this - http://our.umbraco.org/forum/developers/xslt/25155-Double-entries-using-Cultiv-Search-Engine-Sitemap
As you have a multi site set up - have you set usedomainprefixes to true?
If so it would seem that NiceUrl (now deprecated in later Umb versions I believe) returns the full url instead of the relative url
Have you installed the latest version of the sitemap package (better check it is good for 4.8 though)?
Yes, I've stumbled upon that post after I wrote here :).
And yes, I do have usedomainprefixes set to true. The setting needs to remain true.
Yes, exactly. NiceUrl returns the full url. That's why I didn't understand the need for concatenating the domain with the full url...
But now I understand... it was meant to create the url using the domain + name of the page.
Thanks for your explanations! I think I will just go ahead and run my fingers through the code and mold it to fit in with this website's own settings. :)
might be worth intalling of the latest version of this package as I notice that the razor version is good for 4.5 and above
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted