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

  • February 2019 (1)
  • December 2020 (224)
  • January 2021 (168)
  • March 2021 (1)

Pagination

  • Previous page
  • 2

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