зеркало из https://github.com/mozilla/bedrock.git
Bug 1008162 - Stop redirecting firefox tips page to mozilla taiwan
This commit is contained in:
Родитель
4e14b7ecb2
Коммит
e283f2291c
|
@ -29,9 +29,10 @@ RewriteRule ^(.*)$ $1 [L,R=301]
|
|||
# bug 845988 - remove double slashes in URLs
|
||||
RewriteRule ^(.*)//(.*)$ $1/$2 [L,R=301]
|
||||
|
||||
# bug 764261, 841393, 996608
|
||||
# bug 764261, 841393, 996608, 1008162
|
||||
RewriteRule ^/zh-TW/$ http://mozilla.com.tw/ [L,R=301]
|
||||
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/partners
|
||||
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/desktop/tips
|
||||
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/firstrun/?
|
||||
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/tour/?
|
||||
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/whatsnew/?
|
||||
|
|
Загрузка…
Ссылка в новой задаче