diff options
-rw-r--r-- | modules/phpbb/templates/forums_redirect.conf | 2 | ||||
-rw-r--r-- | modules/phpbb/templates/forums_vhost.conf | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/phpbb/templates/forums_redirect.conf b/modules/phpbb/templates/forums_redirect.conf new file mode 100644 index 00000000..451be7a3 --- /dev/null +++ b/modules/phpbb/templates/forums_redirect.conf @@ -0,0 +1,2 @@ +Redirect /$lang $url +Redirect /$lang/ $url diff --git a/modules/phpbb/templates/forums_vhost.conf b/modules/phpbb/templates/forums_vhost.conf index e4060ce0..495a3962 100644 --- a/modules/phpbb/templates/forums_vhost.conf +++ b/modules/phpbb/templates/forums_vhost.conf @@ -1,5 +1,9 @@ # TODO redirect based on language settings # and the presence of the forum + + # for locale redirection + Include conf/vhosts.d/forums.d/*.conf + # using Redirect create a loop, so we use mod_rewrite here RewriteEngine On |