# BEGIN Comet Cache WmVuQ2FjaGU (the WmVuQ2FjaGU marker is required for Comet Cache; do not remove) # Send Access-Control-Allow-Origin header for Static CDN Filters. Header set Access-Control-Allow-Origin "*" # Enable browser caching. FileETag mtime size ExpiresActive on ExpiresDefault "access plus 1 week" # Force a trailing slash on all virtual requests (except WP admin area). RewriteEngine On RewriteBase / # If not a real file or directory. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Not a part of the WP admin area. RewriteCond %{REQUEST_URI} !(?:^|/)wp\-admin(?:/|$) # Not a REST request, which never redirects. RewriteCond %{REQUEST_URI} !(?:^|/)wp-json(?:/|$) # If there is no trailing slash. RewriteCond %{REQUEST_URI} !/$ # Force a trailing slash on all virtual requests. RewriteRule ^(.*)$ $1/ [QSA,L,R=301] # END Comet Cache WmVuQ2FjaGU # Begin Redirects for WordPress urls RewriteEngine On RewriteCond %{HTTP_HOST} ^mmgblog\.wp\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/mmg/" [L,R=301] RewriteCond %{HTTP_HOST} ^energyblog\.wp\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/mme/" [L,R=301] RewriteCond %{HTTP_HOST} ^turchinblog\.tulane\.edu$ [NC] RewriteRule ^ "https://turchin.tulane.edu/" [L,R=301] RewriteCond %{HTTP_HOST} ^turchin\.wp\.tulane.edu$ [NC] RewriteRule ^ "https://turchin.tulane.edu/" [L,R=301] RewriteCond %{HTTP_HOST} ^embablog\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/executive/" [L,R=301] RewriteCond %{HTTP_HOST} ^financeblog\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/mfin/" [L,R=301] RewriteCond %{HTTP_HOST} ^accountingblog\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/macct/" [L,R=301] RewriteCond %{HTTP_HOST} ^mbablog\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/mmg/" [L,R=301] RewriteCond %{HTTP_HOST} ^pmbablog\.tulane\.edu$ [NC] RewriteRule ^ "https://freemanblog.tulane.edu/category/programs/pmba/" [L,R=301] RewriteCond %{HTTP_HOST} ^americanjewishstudies\.wp\.tulane\.edu$ [NC] RewriteRule ^(.*)$ https://americanjewishexperience.org/$1 [L,R=301] # End Redirects for WordPress urls # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # Disable folder browsing Options All -Indexes # END WordPress ##special for activation RewriteRule ^/activate$ wp-activate.php #BEGIN WP ERROR LOG order allow,deny deny from all