I've asked this question a few times in the past, and each time I get a little closer to figuring out how to do this. So it's time to try again. :)
I have three websites:
eviscerati.net
ubersoft.net
unexploredhorizons.net
The three websites are all semi-combined using the domain module, but what I'd really like to do is integrate them into a single website, using the domains to point to different areas within the website.
So for example:
eviscerati.net would take you to the "home page."
ubersoft.net would take you to a View set up to display webcomic content (so essentially, ubersoft.net would redirect to eviscerati.net/comics)
unexploredhorizons.net would take you to a View set up to display fiction content (so essentially, unexploredhorizons.net would redirect to eviscerati.net/fiction)
I've tried a number of different ways to do this. I've tried to set up redirects in .htaccess, but that usually leads to sql errors. I've tried using the domain redirect module, but that seems to be set up to work in the opposite direction (i.e., it will point eviscerati.net/comics to ubersoft.net, but not the other way around). Currently I use the domain module so that I can at least manage all content from a single admin interface, but I really want more integration than that.
Does anyone know if there's a simple way to do this? It seems simple enough conceptually, but I don't know enough about how drupal works to know if it really is, or if that imagined simplicity is based on my ignorance.
If I could figure out how to do this then my visitors could view all the content on all three sites without having to deal with logging in multiple times, and I wouldn't have to try to figure out how to make single sign-on work.
Here's hoping...
Comments
This worked for me in the
This worked for me in the .htaccess file
Note in my case my "ubersoft.net" does not have it's own website
Sweet!
Thanks for that. It gives me something to start with.
This works!
I was able to confirm that this works exactly as advertised... so of course now I'm trying to figure out how far I can push this... :-)
Is there any way to set up a redirect in .htaccess that will take a set of links and transpose them to the other site?
So, for example:
ubersoft.net/hd/archives
ubersoft.net/kp/archives
ubersoft.net/osw/archives
would be
eviscerati.net/comics/hd/archives
eviscerati.net/comics/kp/archives
eviscerati.net/comics/osw/archives
etc.
Is that possible? If yes, I'd be able to convert my comic archives almost seamlessly... and then I'll probably have one more question that will break everything. :-)
Ok, your pushing my .htaccess
Ok, your pushing my .htaccess abilities :)
How about
I'll try that tonight...
... and let you know. :)
And it works!
Two successes in a row!