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:

Other People Are Reading


  1. 1

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

  2. 2

    Input the following code:


    <frameset border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0>

    <frame src="" scrolling=auto frameborder="no" border=0 noresize>

    <frame topmargin="0" marginwidth=0 scrolling=no marginheight=0 frameborder="no" border=0 noresize>



  3. 3

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

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

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