I got error '403 Forbidden Access is forbidden to the requested page'

Dear forum members,

I have the error:

403 Forbidden

Access is forbidden to the requested page: www.goldenprincess.fr/wp-login.php?redirect_to=http%3A%2F%2Fgoldenprincess.fr%2Fwp-admin%2F&reauth=1 (port 80) 

This happens when I try to connect to the wordpress admin page. Then I click “Enter” and re-enter the URL and dont have this error anymore (cookies placed).

Why I have it and what should I do to solve it.

thank you very much in advance,

Hi

Try to add this in the beggining of your .htaccess file in the WP root:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} ^redirect_to=http
    RewriteRule ^wp-login.php http://goldenprincess.fr/wp-login.php? [R=301,L]
</IfModule>

Source

Yes, megazoid. This should work. But this is a very strange problem at all…There is no reason to get a 403 error if he just started the website normally (just by installing Wordpress!) :wink:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.