How to Masking your URL in the Address Bar

Web programming topics
Post Reply
Tony
Lieutenant
Lieutenant
Posts: 86
Joined: Tue Jul 21, 2009 4:11 pm

How to Masking your URL in the Address Bar

Post by Tony » Sun Nov 29, 2009 4:53 am

You can use frames to mask your address bar so it always shows www.yourdomain.com when viewing your pages. Use the frameset below in your default page (index.htm). In this example, the frameset will load home.htm and start your site from there. But the address bar will stay showing www.yourdomain.com.

This is the same technique used by most domain registrars for domain forwarding.

Code: Select all

<frameset rows="*">
<frame src="home.htm">
</frameset> 
Post Reply

Return to “Web programming”