Just a request - I would like an option to specify a different front page based on domains using this mod.

That way each subdomain would have a different front page.

I'm currently using this domain for 'somesite.com' and just created 'movies.somesite.com' with domain access mod, however with this mod I don't seem to be able to specify a front page for the subdomain as changes made effect all domains.

Comments

timhilliard’s picture

Status: Active » Needs review

I would probably suggest doing this in your .htaccess file and using a 301 redirect, here is a snippet:

RewriteCond %{HTTP_HOST} subdomain.domain.com
RewriteRule ^(.*)$ http://domain.com/some-path [R=301,L]

This should go after the "RewriteEngine on" but before the core drupal rewrites.

Of course this solution now no longer takes into account roles for subdomains but I think that was always going to be a bit complex anyway.

Hope that helps,
Tim

simon georges’s picture

Component: User interface » Documentation
Category: feature » support
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.