I would like to create a duplicate of my existing website (includes all content) and apply a different theme.

So for example I would have www.widgets.com with one theme & products.widgets.com with the same content but a totally different theme.

Also, when I add/update/delete content in www.widgets.com I would like it to change in products.widgets.com.

What's the best way to accomplish this? I'm using Drupal 6.



You could take a look at themekey module.

ThemeKey allows you to define simple or sophisticated theme-switching rules which allow automatic selection of a theme depending on current path, taxonomy terms, language, node-type, and many, many other properties.

One other property is "host", which would fit into your demands, although this wouldn't be actually a copy of your site. Instead you would just switch the theme on another domain. (On a side note you should consider avoiding "duplicate content" for better serach results.)

|improve this answer|||||
  • Thanks, does themekey allow changing theme based on URL? – John Jan 11 '13 at 18:51
  • Also, I was thinking of setting up a Drupal Multi-Site drupal.org/documentation/install/multi-site – John Jan 11 '13 at 18:51
  • I'm not sure if ThemeKey let you change the theme based on domain, but if not, you can use Domain Access. Domain access let you choice the theme based on domain. – Gnuget Jan 12 '13 at 3:04
  • ThemeKey works great! Switched the theme, with some minor tweeks, based on the incoming URL. – John Jan 25 '13 at 21:18
  • I still have one related issue with Themekey – John Jan 17 '14 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.