You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2022. It is now read-only.
Add a prompt and option for creating an .htaccess file based on the following template. This will enable pretty permalinks and deny access to .htaccess and wp-config, and we could easily add in the local-config as well.
# Basic .htaccess file for postname permalinks
# Apache rewrite module must be enabled
# Rewrites / Permalinks
# =====================
# 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
# WordPress security
# ==================
<files .htaccess>
order allow,deny
deny from all
</files>
<files wp-config.php>
order allow,deny
deny from all
</files>
The text was updated successfully, but these errors were encountered:
Add a prompt and option for creating an .htaccess file based on the following template. This will enable pretty permalinks and deny access to .htaccess and wp-config, and we could easily add in the local-config as well.
The text was updated successfully, but these errors were encountered: