Best way to have custom Url

I’m using Umbraco 8.3 and I am (very) new to Umbraco CMS.

So I would like some help/advice on the following topic, it would be greatly appreciated!

Is it possible to somehow remove a segment of the Url for a page that it gets because it is a child?

Or to somehow set the Url of a page to only the Url alias of the page (umbracoUrlAlias)?

Let me explain what I mean below. If I have a structure like this:

+ Home
++ Blog
+++ Blog post 1
+++ Blog post 2
++ About

For the blog posts it would give me the Url:

But I want it to have (with no “blog”-segment):

If I use “umbracoUrlAlias” it still keeps the mysite.com/blog/blog-post-1 Url. I don’t want this Url to work, or at-least not to be the default Url (item.Url).

umbracoUrlName” only seems to replace the last segment, the "page name”, but can’t change the path?

Perhaps I could use IIS Rewrite Module or maybe Custom MVC Route. But that seems like overkill, but maybe it is the only way?

What would be the best / a good / solution for this problem?

Also, a second question! How do I get all the alias Url’s set for a page?
I can get the Url by eg “item.Url” but I can’t find eg a “item.UmbracoUrlAlias”?

Thanks!

/R


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/100230-best-way-to-have-custom-url