|Posted: Tue, 2010-03-16 15:19|
OK, while I was typing this, I think I figured it out. (The stuff below the + signs is what I had typed up for reference) I basically just bypassed the index.php, and created an index.php with the following code:
<meta HTTP-EQUIV="REFRESH" content="0; url=./main.php">
It seems to work. That won't screw anything up, will it? The index.php just seemed like a simple redirect, so I just replaced it with a simpler one, but I'm not really sure if it's doing anything funny behind the scenes.
I have 3 domains, let's say domain1.com, domain2.com, and domain3.com
I use Dreamhost, and have domain2, and domain3 mirrored to domain1. I have gallery installed at domain1/pictures.
But, if I go to domain2/pictures or domain3/pictures, index.php redirects me to domain1/pictures/main.php.
If I go to domain2/pictures/main.php or domain3/pictures/main.php, it keeps on the domain I entered with. It's not a big deal, but is there any way I can have index.php keep the user on the domain name they entered with?