Posted by mattwmc on May 22, 2010 at 11:57pm
2 followers
Jump to:
| Project: | Front Page |
| Version: | 6.x-1.2 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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
#1
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