- Сопоставляют http с https
- Сопоставляют домен 59sportfury. сеть на 59plymouth.net
- Стриптиз www. если он присутствует,
- добавляет /59forum к URL-адресу (где находится моя доска phpBB)
Код: Выделить всё
http://www.59sportfury.net/59forum
Код: Выделить всё
http://www.59plymouth.net/59forum/viewtopic.php?t=4190 (where one post might reference another post)
Вот правила в моем файле .htaccess:
Код: Выделить всё
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} ^59sportfury\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.59sportfury\.net$
RewriteRule ^/?$ "https\:\/\/59plymouth\.net\/59forum" [R=301,L]
RewriteCond %{HTTP_HOST} ^59plymouth\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.59plymouth\.net$
RewriteRule ^/?$ "https\:\/\/59plymouth\.net\/59forum" [R=301,L]
Подробнее здесь: https://stackoverflow.com/questions/790 ... has-suffix
Мобильная версия