Created a support forum in the /forums directory of my WPMU. Unfortunately, every subdomain can access /forums which makes for lots of duplicate content. Is there an .htaccess line that would make sure any call for /forums will go to just one place yet not interfere with the wildcard subdomains?
Huh, I just checked and yeah it does that on my install too. :d
honestly though, it's a non-issue. 99% of users aren't smart enough to find it there unless you link it or mention it, and there won't be any duplicated content. Still goes in one database.
lunabyte
Member
Posted 16 years ago #
In the main index.php file for /forum, you could do a check against the server variable for http host, and if it's not domain.tld, then do a header redirect to it.
Remembering to keep the request uri in the redirect, of course.