Race2Fundriase/gaming/master/.htaccess
# BEGIN iThemes Security
# BEGIN Tweaks
<IfModule mod_rewrite.c>
RewriteEngine On
# Rules to prevent php execution in uploads
RewriteRule ^(.*)/uploads/(.*).php(.?) - [F]
</IfModule>
# END Tweaks
# END iThemes Security
# Switch rewrite engine off in case this was installed under HostPay.
RewriteEngine Off
SetEnv DEFAULT_PHP_VERSION 53
DirectoryIndex index.cgi index.php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^race/([^/]*)/? active-race/?raceId=$1 [R=301,L]
RewriteRule ^charity/([^/]*)/? charity-profile/?charityId=$1 [R=301,L]
RewriteRule ^fundraiser/([^/]*)/? fund-profile/?charityId=$1 [R=301,L]
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<filesMatch ".(html|htm|js|css)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</filesMatch>
# END WordPress
On Github License
Files
Download PDF of Htaccess file