Multiple domains on one host / htaccess / multiple installations
-
Hi all,
Need some help here.
I want to have multiple installations of wordpress on my host. Each one gets its own domain. This means that example1.com would link to the folder mydomain.com/exmaple1 and that example2.com would link to mydomain.com/example2.
I use the .htaccess suggested by ferran9 in this post but I got a php-error because index.php can’t find wp-blog-header.php (the .htaccess does work though: tested it with other folders that don’t run WP).
So I tried the index.php-hack suggested by haagendazs1 in this post. That doesn’t work either.. Apparently
$host = $_SERVER['HTTP_HOST'];
doesn’t work in WP2.3.3.I’m at a loss. Can anyone suggest a solution to my problem? I’d be very grateful..
- The topic ‘Multiple domains on one host / htaccess / multiple installations’ is closed to new replies.