Preview/figure out published URL before publishing?

Many of our clients has the need to know the upcoming URL of a page before it is actually published.

Is there any way to calculate this properly, other than url-encoding the title of a page in your head or publishing > copy url > unpublishing quickly?

If one were to build an extension that could preview/calculate this, are there perhaps already built in Umbraco methods that figure out/validate URLs that one could use?

Hi @karlmacklin

That sounds like a great idea for a package! The code to generate URLs is already in Umbraco, so it would just need to be used to output the expected URL, perhaps in the Info tab somewhere.

I’m not aware of any packages that do this.

You can try and guess the URL, but other factors will dictate the final one, such as how unicode characters are handled, an umbracoUrlName property, domains and whether the parent pages are published, etc.

As you say, quickly publishing and then unpublishing is currently the only option.

Justin