I have created a multilingual site (for sake of simplicity I add just one node per site):
Content - it - Iscrizioni - en - Register
I'd like that the Iscrizioni node is retrieved with the following urls:
/it/Iscrizioni /Iscrizioni /it/Register
The first is the correct one for SEO, and the one that will be used as link in the site The second is to preserve old urls of when the site was "mono-lingual" The third to allow url hackabolity (i.e. I go to /en/Register, I want to try if there an Italian version, I just change en to it)
I added in the DocumentType a textstring property with the alias umbracoUrlAlias, and I set it to Iscrizioni,en/Register, but when I try to go to /Iscrizioni.aspx and to the /en/Register.aspx I get the 404 page.
I found that umbracoUrlAlias only works on lowercase. Try going to "/it/register.aspx", see if that works? Not sure why "/iscrizioni.aspx" doesn't work, as far as I can tell you have entered it correctly.
Alternatively, if you are doing this for SEO purposes, I'd suggest taking a look at the 301 URL Tracker package, as that sends out the appropriate redirect headers.
How does umbracoUrlAlias is supposed to work?
I have created a multilingual site (for sake of simplicity I add just one node per site):
Content
- it
- Iscrizioni
- en
- Register
I'd like that the Iscrizioni node is retrieved with the following urls:
/it/Iscrizioni
/Iscrizioni
/it/Register
The first is the correct one for SEO, and the one that will be used as link in the site
The second is to preserve old urls of when the site was "mono-lingual"
The third to allow url hackabolity (i.e. I go to /en/Register, I want to try if there an Italian version, I just change en to it)
I added in the DocumentType a textstring property with the alias umbracoUrlAlias, and I set it to Iscrizioni,en/Register, but when I try to go to /Iscrizioni.aspx and to the /en/Register.aspx I get the 404 page.
Any idea of what I am doing wrong?
Sorry, I meant, I set it to "iscrizioni,it/register" and doesn't work when I go to /Iscrizioni.aspx and to the /it/Register.aspx
Damn, no editing feature in this forum yet? :)
Nevermind... fixed it :)
Hi Simone,
I found that umbracoUrlAlias only works on lowercase. Try going to "/it/register.aspx", see if that works? Not sure why "/iscrizioni.aspx" doesn't work, as far as I can tell you have entered it correctly.
Alternatively, if you are doing this for SEO purposes, I'd suggest taking a look at the 301 URL Tracker package, as that sends out the appropriate redirect headers.
http://our.umbraco.org/projects/301-url-tracker
Cheers, Lee.
Thank you, I'll have a look at it
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.