Several domains
-
Hi, i hope someone can help me with this.
I have several domains pointing to the same bbpress forum. For example, during the installation, i installed bbpress with the domain name setting of “domainA.com”. Now, when i get a visitor from “domainB.com”, he will be redirected to “domainA.com” pretty fast, like when he’s clicking the “Home” link on the forum.
I have managed to change this, by replacing, in the header file of the template, the:
<?php bb_option('uri'); ?>
.. to:
http://<?php _e($_SERVER['HTTP_HOST']) ?>
And it works. However, bbpress use the ‘uri’ alot, and for example, if the user is not logged in, and is trying to post, he will be redirected to domainA.
What i’m asking for, i guess, is if it’s possible, in the php files somewhere, to specifically define the uri to be the server’http_host’ instead of the domainA? Where can i find and change this, and how?
Thank you very much.
Mike
- You must be logged in to reply to this topic.