WordPress.org

Ready to get started?Download WordPress

Forums

accessing core forum from different multisites (2 posts)

  1. pablolobo
    Member
    Posted 4 months ago #

    I have question regarding my multisite setup.

    We have a network of sites:

    thefwoosh.com (primary)
    thecoinslot.com
    theshortbox.com
    fwooshflix.com

    I have a phpbb forum installed on thefwoosh.com. The url is thefwoosh.com/forum. However I can access the same forum from:

    thecoinslot.com/forum
    theshortbox.com/forum
    fwooshflix.com/forum

    I don't understand that, how can I access the forum from those urls?

    When I log into thefwoosh.com/forum I have no issues, everything works. But if I load the other url/forum/ I am not logged in and have to log in again. I have not seen any adverse issue but I am concerned about the impact.

    Additionally it is throwing my google analytics as the /forum/ is showing up in multisite entries. I'm assuming this is an error in the multisite setup, how can it be fixed?

  2. You can see it from all mapped domains because they're just mirroring the files. it's not a WP thing, it's a generic server thing.

    You could put a .htaccess check in the forum folder. IF the server isn't thefwoosh.com, then redirect. Should be like this:

    RewriteCond %{HTTP_HOST} !^thefwoosh\.com
    RewriteRule ^(.*)$ thefwoosh.com/$1 [L,R=301]

Reply

You must log in to post.

About this Topic