I want few users to view a particular page on my website, but they should not identify the real address towards that link instead they should open some other address that will open my page. Is it possible to hide URL Link, so that users will not be able to know the real URL address.
Is it possible to hide URL Link
Hi Scott,
Hiding the real URL link or address is possible and it is known as URL masking. URL masking is the process of hiding the actual domain of a website and covering it up with something different.
With this, the browser's address bar will show a URL that is different from the actual URL of the web page being viewed. There are three common methods of masking URLs; with frames, Apache rewrite and page retrieval software.
View the step by step details on how to use each method URL Masking – Attainment and Prevention
Is it possible to hide URL Link
I am thinking of two ways to achieve what you want to do. First in my mind is to hide the URL from the status bar. When the mouse is moved over the link, the actual link will not be displayed on the web browser’s status bar. Instead, a different text will appear. This uses the “onclick” event in HTML. Here’s an example:
<a href=”javascript:void(0)” onclick=”this.href=’URL'”>some text</a>
Replace without quotes “URL” with the actual link. In this example, when you move or hover the mouse over the link, the browser’s status bar will display without quotes “javascript:void(0)” instead of the actual link. You can change this text with whatever text you want to display. When the user clicks the link, the “onclick” event will fire up whatever link is indicated within the single quotes.
The second method in my mind is to point the link to a PHP file which will then redirect the user to the actual page. The PHP file contains the following:
<?php
$direct = “URL”;
header(“Location: $direct”);
?>
Replace without quotes “URL” with the actual link. To make this work, on your page, point the link to this PHP file. When the user clicks on the link, it will fire up the PHP file which will then redirect the page to the actual page.
But whatever method you use, when the user arrives on the target page, the actual address of the page will still appear in the browser’s address bar.