Root directory htaccess file stopping me from accessing WP Dashboard
-
The root directory htaccess file for our website is not allowing me to access the WordPress Admin Dashboard (wp-admin)
Error message – “Not Authorized to View This Page [CFN #0004]”
After reading up on this, I disable the htaccess file in the root directory and I was then able to immediately get in to WordPress Dashboard. The problem is that I was then unable to access the homepage of our website page.
I have tried everything to resolve this. This is the code in the htaccess file in the root directory
HTTPS REDIRECT CODE START DO NOT REMOVE, MUST BE FIRST DIRECTIVE IN .htaccessRewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy “upgrade-insecure-requests;” HTTPS REDIRECT CODE END SSL PROVISIONING CODE START DO NOT REMOVE, MUST BE FIRST DIRECTIVE IN .htaccessRewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} “./.well-known/.” [NC]
RewriteRule ^..well-known(/.)?$ – [END] SSL PROVISIONING CODE ENDDirectoryIndex index.shtml [ CP Global Redirection – Start ]
RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{SERVER_NAME} !^www..$ RewriteRule ^(.)$ https://www.%{SERVER_NAME}/$1 [R] [ CP Global Redirection – End ]
I desperately need some help with this, is it something to do with SSL ? I know that our SQL database shows the following
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.