Hide CMS page template URL in the address bar

HI, i’m just wondering if it’s possible to hide part of the URL showing in the address bar…

I want to modify this

with this


like hide part of the URL.
is that even possible?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Once a page loaded, a JS code can alter the URL.

Thanks for you replay. Do you have any links that show how to do it? I’m new in this field and i’m trying to build my own site.

Unfortunately, I don’t code. Ask a JS developer.