Only show domain URL

Discuss practical ways rearrange URLs using mod_rewrite.

Only show domain URL

Postby leachy » Fri Aug 01, 2008 12:47 am

Hi Guys,

Awesome forum you have here.

I was wondering if I could get some help.

Basically I would like only the domain name to show up in the address bar, no matter what the user has navigated to. I've enabled mod_rewrite, and got it all running with the help of the FAQ here.

At the moment it shows like this when a user navigates to our webmail.

http://maildomain.com/usr/login.php

I would like it to read...

http://maildomain.com

Any help would be appreciated.

Cheers
leachy
 
Posts: 1
Joined: Fri Aug 01, 2008 12:41 am

Postby richardk » Fri Aug 01, 2008 3:53 pm

Mod_rewrite can't do that. You need a frame (or maybe JavaScript).
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 41 guests

cron