The Ultimate Way to Cloak and Hide any Website Address or URL (Stealth Forwarding)

by Yang Yang on May 29, 2010

Most of the existing URL cloaking services are only a redirection by a randomly generated short URL. The real URL of the target website or web page will eventually be revealed when the visitor arrives at it after the obscure redirection. So how to ACTUALLY hide and cloak the destination URL of any website or web page so the address bar of the browser stays unchanged? In other words, how to create a stealth forwarding?

With a simple HTML web page, you can do that very easily. Copy and paste the following HTML code into a file named google.html and save it at example.com/google.html:

<!doctype html>
<html>

<head>
<title>Google</title>
<style type="text/css">
body {margin:0;}
iframe {padding:0;border:0;position:absolute;width:100%;height:100%;}
</style>
</head>

<body>
<iframe src="http://www.google.com/"></iframe>
</body>

</html>

Now navigate to your website http://www.example.com/google.html. It’s Google’s home page no problem. Better yet, the URL in the browser address bar doesn’t change to http://www.google.com/.

Syahril Mohune June 6, 2012 at 12:57 pm

oh sorry, I just do one post. but below is an actual post from me

Most of the existing URL cloaking services are only a redirection by a randomly generated short URL. The real URL of the target website or web page will eventually be revealed when the visitor arrives at it after the obscure redirection. So how to ACTUALLY hide and cloak the destination URL of any website or web page so the address bar of the browser stays unchanged? In other words, how to create a stealth forwarding? With a simple HTML web page, you can do that very easily. Copy and paste the following HTML code into a file named google.html and save it at example.com/google.html:
Thank you, for making web programming tutorial, I was greatly helped with the tutorial here. thanks again.

AllanOK June 21, 2012 at 10:15 pm

there is no HTML code after you write

” Copy and paste the following HTML code into a file named google.html and save it at example.com/google.html:”

what do i copy and paste in?

desperately need this solution as the option at the top of this thread only works with a few browsers.

venkatesh.bakale July 6, 2012 at 3:54 pm

Allan bro,

I know for certain you are not getting the point
just create one website [empty] then save that sites file [any browser]
and folder on desktop now click on that file icon [which shows in browser
left click it and then open it with txt file..erase its content and and
copy-paste above HTML code and instead of http://www.Google.com just give
your favorite website redirection http://www.i-want-to-redirect-this-ite.com….
and then upload this file folder in your any named website like
http://www.i-want-above-site-redirected-on-this-site-but-by-showing-this-sites-url-only.com
the this website will show above redirected site without showing without loosing
its own url …….And you are done….
hope this will satisfy your query

regards
venkatesh.bakale@gmail.com

Mario de Angelis December 31, 2012 at 1:27 am

can you post an iframe template with header, footer, left and right frames??? Thank you.

Michelle January 31, 2013 at 5:07 pm

Thank you! Your code works like a charm! Thank you for sharing as this code is really helpful in cloaking ugly affiliate links a lot of people shy away from when they see it in the address bar.

Silas S. Brown March 7, 2013 at 9:07 pm

This method does have a few problems: (1) if the site contains Javascript that assumes it’s not running in a frame, the Javascript might break; (2) if the user has CSS overrides, the iframe size code might not take effect and the iframe could end up being too small; (3) some ad-blockers (and very old browsers) might block the iframe altogether; (4) the user can still say “open frame in new window” etc. The only way to really hide a site’s address is to reverse-proxy for it (by setting up Nginx or something); if you are not the owner of the site then check the legal situation first. 加油!

Abiodun lash April 27, 2013 at 9:15 pm

What you shared here is bam!!!… i mean its superb…. id been looking for something like this a long long time…kudos bro

Comments on this entry are closed.

Previous post:

Next post: