How to Hide URL Code

Written by dustin thornton
  • Share
  • Tweet
  • Share
  • Email

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:
Easy

Other People Are Reading

Instructions

  1. 1

    Launch your HTML editing program or a simple text editor such as Notepad.

  2. 2

    Input the following code:

    <html>

    <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>

    </frameset>

    </html>

  3. 3

    Replace "http://www.URL.com" with the exact URL of the page that you want to display while hiding its URL.

  4. 4

    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.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.