Working on a website that has blog, where the url to the blog is something like domain.com/about-us/blog.aspx.
Is there a way to create a friendly url that reaches a page at domain.com/about-us/blog.aspx with the url domain.com/blog.aspx? What I mean, is it possible to skip the hole path in the url and replace it with the single page name like domain.com/blog?
Friendly url
Working on a website that has blog, where the url to the blog is something like domain.com/about-us/blog.aspx.
Is there a way to create a friendly url that reaches a page at domain.com/about-us/blog.aspx with the url domain.com/blog.aspx? What I mean, is it possible to skip the hole path in the url and replace it with the single page name like domain.com/blog?
The easiest way to do that is just to move the blog node up in the in Umbraco content tree. That would make the url shorter.
As an alternative you could use url rewrting. Go to the /config/UrlRewriting.config file and add this:
Than if you go to domain.com/blog it will show the blog.
Jeroen
Thanks Jeroen..
Looking this from last 5 hours. :(
is working on a reply...