Tetra WebBBS Configuration

$force_domain

$force_domain allows to specify ONE domain to which all calls will be redirected if a different domain name is used to access the forum pages.

New in 6.10

E.g.: setting this variable to 'www.yourdomain.com' all requests to http://www.yourdomain.com/cgi-bin/bbsx/webbbs_config.pl will be served. Requests omitting the 'www.' part in the url like http://yourdomain.com/cgi-bin/bbsx/webbbs_config.pl will be redirected accordingly.

This feature is usefull for two situations:

  1. avoid the the dual cookie problem if links/users point browsers to www.domain.com instead of domain.com or vice versa
  2. avoids duplicate content problem with searchengines if more than one domain is mapped to the same site!