<IfModule mod_rewrite.c> # don't add .html in the rewrite below Options -MultiViews RewriteEngine On RewriteBase / # if on csclub.uwaterloo.ca, redirect to bndl.org RewriteCond %{HTTP_HOST} ^csclub\.uwaterloo\.ca$ RewriteRule ^(.*)$ https://bndl.org/$1 [R] </IfModule> AddType text/plain .bib .org AddCharset utf-8 .bib .org