Skip to main content
Home
Blog

Main navigation

  • Home
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Knowledge Base
  4. How-To

How to do URL masking?

By ongetc , 26 February, 2017

You have a long site URL but want to use a shorter URL, how is it done?

It is using the HTML frame to mask the destination URL and keep the originate URL in the browser.

You would create a site with a short URL and on that site, you create an index.html that contains the HTML code as shown below.

Here is the HTML code that makes the URL masking work!

Please note the extra space in the code.


< html >
< head >
< title>yourname< /title>
< meta name="description" content="your description" >
< meta name="keywords" content="keyword1, keyword2" >
< /head >
< frameset rows="100%,0" border="0" >
< frame src="http://verylongURLTosite.com?task=more&param=parm1" frameborder="0" >
< frame frameborder="0" >
< /frameset >
< /html >

Note: the above "frame src" use either the domain name or your IP address for your site.

Forums
How-To

Reseller hosting (free)

Hosting24 (w/ ssh)

A2 Hosting

Monthly archive

  • September 2009 (14)
  • October 2009 (11)
  • January 2010 (2)
  • June 2010 (3)
  • October 2011 (1)
  • March 2012 (1)
  • July 2012 (1)
  • February 2017 (564)
  • March 2017 (5)
  • April 2017 (2)

Pagination

  • 1
  • Next page

Popular content

Last viewed:

  • JavaScript Lint
  • SAPID
  • MMBase
  • How to do URL masking?
  • htmldog.com
  • JavaScript DB
  • Fedora
  • ndCMS
  • Contenido
  • How to create blog in Drupal

User login

  • Reset your password