1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 04:52:49 +00:00

Set up a redirect for the old contribute page to go to our FAQ

bzr-revno: 64
This commit is contained in:
Raoul Snyman 2017-03-12 20:36:03 -07:00
parent 984b6a94ef
commit bbd6c85905

View File

@ -8,6 +8,8 @@ RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# Some old URLs start with "en", just drop it # Some old URLs start with "en", just drop it
RewriteRule ^en/(.*)$ /$1 [R=301,L] RewriteRule ^en/(.*)$ /$1 [R=301,L]
# Some old URLs that are still linked to
RewriteRule ^contribute$ http://manual.openlp.org/faq.html#can-i-help-with-openlp [R=301,L]
# Make .html optional # Make .html optional
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d