the auto generated Url for Product1 content is www.sitename.com/products/product1/ but i need the url for product1 should be www.sitename.com/product1/. I have created the page property with umbracoUrlName and added custom Url /product1/. now I tried to access the page www.sitename.com/product1/ but its redirecting to www.sitename.com/products/product1/. I need the product1 in www.sitename.com/product1/ not in www.sitename.com/products/product1/. Please, is there any solution for this?
Custom Url for the page
Hi guys,
i have created content tree like this
the auto generated Url for Product1 content is www.sitename.com/products/product1/ but i need the url for product1 should be www.sitename.com/product1/. I have created the page property with umbracoUrlName and added custom Url /product1/. now I tried to access the page www.sitename.com/product1/ but its redirecting to www.sitename.com/products/product1/. I need the product1 in www.sitename.com/product1/ not in www.sitename.com/products/product1/. Please, is there any solution for this?
thanks
karthik
Hi Vasan,
have a look at the following blog:
https://www.ucodebase.be/blog/implementing-a-custom-urlprovider-in-umbraco-and-its-pitfalls/
Here you can see the same situation where Companies and Categories segments needs to be removed from the url.
Hope this helps.
/Michaël
Michael,
Thanks for the tutorial... this will solve the issue... i keep posting if any issues... thanks again...
karthik
Vasan,
no problem, glad it helps you out with your issue.
If you have any questions about the UrlProviders or ContentFinders don't hesitate to ask them!
Have a nice day!
/Michaël
is working on a reply...