multiple domains in same htdocs directory
-
OK. Here’s the scenario…
• I’m using Network Solutions
• I have installed the Unix server
• I have installed WordPress for two domains (they are both live)
• Both WP subdirectories are in the directory htdocs/My index.php4 file looks like this:
<?php header("location:/wordpressSubdirectory1"); ?>My problem is that when I type http://www.domain1.com it goes to domain1.com/wordpressSubdirectory1 – That’s good, but when I type http://www.domain2.com it naturally goes to domain1.com/wordpressSubdirectory1
I need it to go to domain2.com/wordpressSubdirectory2. Now, I can accomplish that just by adding the subdirectry to the url string but I don’t want that, it makes the url overly long.
So, my question is do I edit my index.php4 file to accomplish this or is there another remedy? Network Solutions tells me I should be able to nest both domains in the same htdocs/ directory and of course they do not support WP.
The topic ‘multiple domains in same htdocs directory’ is closed to new replies.