diff --git a/website/.htaccess b/website/.htaccess index 1b9f6ba3..f0fca837 100644 --- a/website/.htaccess +++ b/website/.htaccess @@ -1,14 +1,10 @@ -RewriteEngine On - # redirect donate.html to paypal redirect 301 /donate.html https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z8JHALZ4TXGWL&lc=US&item_name=FileBot%20Media%20Renamer¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted # redirect filebot.sourceforge.net to www.filebot.net -RewriteRule ^http://filebot.sourceforge.net/(.*)$ http://www.filebot.net/$1 [R=301,L] - -# redirect filebot.net/scripts/ to https://raw.github.com/filebot/scripts/master/ -RewriteRule ^http://filebot.net/scripts/(.*)$ https://raw.github.com/filebot/scripts/master/$1 [R=301,L] - +RewriteEngine On +RewriteCond %{HTTP_HOST} =filebot.sourceforge.net [NC] +RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L] # compress text, html, javascript, css, xml AddOutputFilterByType DEFLATE text/plain