954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Disguise address bar

Hello Daniweb Community

I am creating a website and wish for the pages url to be the same.

For example.

The site is

company.com

I wish for the page

company.com/help.htm

to appear as company.com


If you could help I would be very grateful
thank you
Grantmitch1

Grantmitch1
Junior Poster in Training
71 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

You can't really do that unless you use a frame and links on the page would open in the frame instead of their own separate page. Also, try not to
use


three

returns


after

every

few


words

It's annoying.

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

I know you can do it without frames because I have seen sites such as Runescape.com do it.

I would like to learn to do it to.

Grantmitch1
Junior Poster in Training
71 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

OK then you just answered your own question, go look up how to use frames. w3schools.com is a good resource.

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

It should be made impossible to do this. The fact that it can be done is a way crackers can sneak into computers.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

I dont want to use frames though.....
Though I may do it if It wont allow me otherwise.

But I know you can do it without frames because runescape does it.

Grantmitch1
Junior Poster in Training
71 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

Sorry buddy but they do use frames.

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

If pages don't have different URLs, the web servers can't tell them apart.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

How do I make my pages the same URL.
Cus when you save them the file name is what the URL is.

example file is contact
www.example.co.uk/contact

How do I do it so they are all the same.

Thanks

Grantmitch1
Junior Poster in Training
71 posts since Nov 2007
Reputation Points: 10
Solved Threads: 1
 

I already answered your question, you must use frames. Though you though that Runescape wasn't using frames they are.

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You