Drupal - Redirect based on Domain

qdada

Expert Member
Joined
Nov 19, 2003
Messages
1,428
Reaction score
18
Location
Sunninghill
So i have a parked domain ( eg. myred.co.za parked on mycolours.co.za).

i have some content eg.

  • mycolours.co.za/my-red-car (category/taxanomy is "red")
  • mycolours.co.za/redshirtsarenice (category/taxanomy is "red")
  • mycolors.co.za/blue-collar-jobs-decline (category/taxanomy is "blue")
  • mycolors.co.za/white-collar-crime-surges (category/taxanomy is "white")
  • mycolours.co.za/shilowas-red-socks (category/taxanomy is "red")

is it possible to have the parked domain myred.co.za to automatically redirect (or something fancier) to
mycolours.co.za/?q=tags/red so that on myred.co.za one only sees

  • mycolours.co.za/my-red-car (category/taxanomy is "red")
  • mycolours.co.za/redshirtsarenice (category/taxanomy is "red")
  • mycolours.co.za/shilowas-red-socks (category/taxanomy is "red")

This probably has something less to do with drupal but more to do with mod_rewrite or even .htaccess but I dont know to query it properly on Google ;)
 
Top
Sign up to the MyBroadband newsletter
X