This repository has been archived on 2020-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
site/.htaccess

19 lines
458 B
ApacheConf

RewriteEngine On
# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# require HTTP 1.1 for POST
# RewriteCond %{THE_REQUEST} ^GET(.*)HTTP/(0\.9|1\.0)$ [NC]
# RewriteRule .* - [F,L]
#BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress