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
hi,
i have a UrlRewrite rule where i turn this "DomainName.com/en/sompage.aspx" to "DomainName.com/somepage.aspx?lang=en"
so i have to write all urls to reference the desired language in the url (making anther sub domain is not an option)
i tried to use concat
concat( 'en', umbraco.library.NiceUrl($currentPage/@id))
but i get this result instead "DomainName/en/en/somepage.aspx"
Hi Ahmed,
Here are some SEO packages that might help you
http://our.umbraco.org/projects/website-utilities/seo-checkerhttp://our.umbraco.org/projects/collaboration/babel-fish
<xsl:variablename="languages"select="your.library:GetLanguages()"/><xsl:iftest="count($languages/languages/language) > 0"> <xsl:for-eachselect="$languages/languages/language"> <xsl:value-ofselect="concat(@name, ' [', @culture, ']')"/> <br/> </xsl:for-each></xsl:if>
http://our.umbraco.org/wiki/reference/code-snippets/getlanguages
hope this helps//Fuji
i found the solution, i just had to add '/' before 'en'
like this concat( '/en', umbraco.library.NiceUrl($currentPage/@id))
Got to know its working .
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
using concat with niceurl
hi,
i have a UrlRewrite rule where i turn this "DomainName.com/en/sompage.aspx" to "DomainName.com/somepage.aspx?lang=en"
so i have to write all urls to reference the desired language in the url (making anther sub domain is not an option)
i tried to use concat
concat( 'en', umbraco.library.NiceUrl($currentPage/@id))
but i get this result instead "DomainName/en/en/somepage.aspx"
Hi Ahmed,
Here are some SEO packages that might help you
http://our.umbraco.org/projects/website-utilities/seo-checker
http://our.umbraco.org/projects/collaboration/babel-fish
http://our.umbraco.org/wiki/reference/code-snippets/getlanguages
hope this helps
//Fuji
i found the solution, i just had to add '/' before 'en'
like this concat( '/en', umbraco.library.NiceUrl($currentPage/@id))
Got to know its working .
is working on a reply...