Error 403 – Forbidden instead of password page
-
I am having this problem when activating Password Protected plugin. When I try to enter the site without writing “www”, it takes me to an Error 403.
https://padresehijos2016.cl/home/contacto/
but when I write the www everything is okay.
https://www.padresehijos2016.cl/?password-protected=login&redirect_to=http%3A%2F%2Fwww.padresehijos2016.cl%2Fprograma-extracurricular%2FI have found similar problems in the forum and I updated my .htaccess file to redirect users to the right place, but nothing happened.
I tried with this one, using my website of course.
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^(www\.yourwebsite\.com)?$
RewriteRule ^(.*)$ https://www.yourwebsite.com/$1 [R=301,L]thanks
- The topic ‘Error 403 – Forbidden instead of password page’ is closed to new replies.