Forum Moderators: phranque

Message Too Old, No Replies

Showing only the Domain Name in the Address Bar

Mask the full URL

         

firstclass

11:54 am on Aug 15, 2005 (gmt 0)

10+ Year Member



Hi,

Does anyone know of a way to just show the domain name in the address bar without the rest of the URL? ie www.domainname.com/ as opposed to www.domainname.com/page.html

I am wrunning a dedicated server and have access to the Apache configuration.

I've seen web hosts offering this service but have searched the net and everything points to the mod_rewrite module although it looks to me that that actually changes the page the user is viewing.

Any help on this subject would be most appreciated!

Thanks!

stinkfoot

2:37 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Hi,

Just read your question and I am no apache expert but are you sure they dont use frames in the html to do this?

jd01

4:43 pm on Aug 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi firstclass,

Welcome to WebmasterWorld.

I would start in the Library [webmasterworld.com].

Basically, mod_rewrite either serves information to a location other than the information at the one requested, or when a location is requested redirects to another location.

If you have a way of passing the variables that would change the content of the page (EG POST) then you could use mod_rewrite if you needed to. Personally, I think the frames are a better idea.

Justin

firstclass

6:29 pm on Aug 15, 2005 (gmt 0)

10+ Year Member



Ok, thanks Justin!