PDA

View Full Version : htaccess, redirect & URL


royhink@thegray
09-07-2005, 08:20 PM
I have several parked domains pointed to my main account, a retail store with a shopping cart, and want to have the URL stay consistant with the parked name.

So, if someone types in www.2nd-name.com, it goes to www.primary.com AND the URL stays as www.2nd-name.com/ when they surf the site.

Can this be done with htaccess and a DirectoryIndex or redirect command?

The DNS for all the parked names and primary name will be the same. Currently, I have 2 parked name2 and the URL's are not consistant with the parked name.

All help appreciated.

Roy

Noodles24
09-08-2005, 12:21 AM
Why don't you just point the domain and use it normally? Then it will work as you described

royhink@thegray
09-08-2005, 03:35 PM
I assume you are talking about a redirect in the htaccess?

I have the domain names parked now, but the url is not consistant with the parked name.