When creating a website, you may wish to mask or hide the URL of the site from a user. Although not recommended by many website professionals as it can erode your site visitors' trust, you can accomplish this by using the HTML "<frameset>" code. Frames allow you to place the content of another site within a website, which effectively hides the URL of any site you place within a frame on another site.
- Skill level:
Launch your HTML editing program or a simple text editor such as Notepad.
Input the following code:
<frameset border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0>
<frame src="http://www.URL.com" scrolling=auto frameborder="no" border=0 noresize>
<frame topmargin="0" marginwidth=0 scrolling=no marginheight=0 frameborder="no" border=0 noresize>
Replace "http://www.URL.com" with the exact URL of the page that you want to display while hiding its URL.
Save the file and upload it to your server. Any visitors you direct at this Web page now sees the content from the URL you specified in Step 3, but only sees the URL in the address bar of the page you just uploaded.
Tips and warnings
- Creating websites with frames and hiding the URL of the actual site can harm search engine rankings.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for