There is no simple way to hide the address bar. The browser always shows the current address of the top-most document.
If you don't want that address to show, you have a few options:
- Use a client-side rendering framework (React, Angular, etc) that doesn't rely on URLs to decide what's currently being shown. This will use a lot of REST-like calls to view/update data.
- Request the page via a form post. You can send the ID with the POST data, rather than it being in the URL.
- Embed the page whose URL you want to hide using
<iframe>
element. The URL being requested from the server will still contain the query string parameters, it just won't be immediately visible to the user.
- You can use the JavaScript
window.open
function to open the page in a full pop-up window, and use the option location=0
to hide the location bar. Note that some modern browsers will ignore this and will display the location anyway.
Using the URL Rewriting module, you can't hide that identifier. You can only build it into the URL in a way that's prettier to look at, e.g. https://yoursite.com/employee/459-099/summary
.