Page 1 of 1

Please How Can I Map a Domain name to a Category

Posted: Wed Jun 11, 2014 2:06 am
by krazy4sales
Hello,

Can some one help me with this. I want to map a domain name to a specific category. I am thinking it will be some kind of mod re-write can someone please shed there expertise on this for me?

ex. Fashion/fragrance/product = www.Fashion.com/fragrance/product

Thanks

Re: Please How Can I Map a Domain name to a Category

Posted: Wed Jun 11, 2014 2:16 am
by dirtboy
not sure what the best option would be, but you can do a redirect in your cpanel

Re: Please How Can I Map a Domain name to a Category

Posted: Wed Jun 11, 2014 8:36 am
by krazy4sales
Hi thanks for the advice is there another way to do this because using frame redirect is super slow. Is there a mod rewrite I can do for this because also at the end of the url it dose not show any trailing slashes like no matter what you click it always show www.domainname.com and not example www.domainname.com/fashion/blue-dress-1002. Also if I clik another category it stays in the frame I need it just on a per category bases so if some one clicks a different category it should go back to the main site. I dont want to use Multi-stores for one or four categories.

Thanks

Re: Please How Can I Map a Domain name to a Category

Posted: Wed Jun 11, 2014 9:29 am
by dirtboy
try putting this in your htaccess file

RewriteCond %{HTTP_HOST} ^www.olddomain.com$
RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]