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 simple structure shown below; www.name.com/customers/more-information/company-one www.name.com/customers/more-information/company-two The more-information 'page' is actually just a folder and is hidden in most areas of the site except the URL. Is it possible to set a flag in the page to ignore it when it comes to qualifying or generating the niceURL? Therefore they would become the following; www.name.com/customers/company-one www.name.com/customers/company-two Thanks DC.
Hi Matt, I'm sure umbracoUrlAlias will do exactly what you need, but: - you'll need to provide the complete path 'customers/company-one' - you'll need to make sure not to have duplicate entries It can be done manually, or using an event handler that removes the more-information part of the url. Also, see http://www.netaddicts.be/blog/2009/3/8/umbraco-quick-tip-1-umbracourlalias-and-specifying-complete-new-path.aspx Regards, /Dirk
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Nice URL Modification
Hi,
I have a simple structure shown below;
www.name.com/customers/more-information/company-one
www.name.com/customers/more-information/company-two
The more-information 'page' is actually just a folder and is hidden in most areas of the site except the URL.
Is it possible to set a flag in the page to ignore it when it comes to qualifying or generating the niceURL?
Therefore they would become the following;
www.name.com/customers/company-one
www.name.com/customers/company-two
Thanks
DC.
Hi Matt,
I'm sure umbracoUrlAlias will do exactly what you need, but:
- you'll need to provide the complete path 'customers/company-one'
- you'll need to make sure not to have duplicate entries
It can be done manually, or using an event handler that removes the more-information part of the url.
Also, see http://www.netaddicts.be/blog/2009/3/8/umbraco-quick-tip-1-umbracourlalias-and-specifying-complete-new-path.aspx
Regards,
/Dirk
is working on a reply...