Detect and correct security, permissions and redirect conflicts
These types of issues can break install, setup and building phases. Here are steps you can take to correct any conflicts.
Security, maintenance and coming soon plugins
Reference " Temporarily turn off security, maintenance and coming soon plugins" at the bottom of this article.
Check your .htaccess file for rules that don't belong
Compare your .htaccess file with the example below.
- Make sure your .htaccess files does not have any additional rules.
- If you do have additional rules, temporarily comment them out with # at the beginning of the line. (Example #RewriteRule XYZ ). Here is the original .htaccess from WordPress.
-
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
- Reference WordPress.org
Uploading and permission issues
Test that you can upload an image from your media library and install a plugin without having to enter an FTP user / password.
Ask your host to fix the permissions so you do not have to enter your FTP password each time if you see a prompt like this:
If your host can't help you, try this example below
- Add the code below direct connection parameter to wp-config.php
-
if (!defined('FS_METHOD')) { define('FS_METHOD', 'direct'); }<br>
Detail documentation about WordPress Permissions: https://wordpress.org/support/article/changing-file-permissions/
Success?
- Yes - Awesome!
- No - Okay, let's try "Temporarily turn off customizations" below.