Viewing 3 replies - 1 through 3 (of 3 total)
  • Looks like you have it fixed, but for those with the same error, I’d try making sure the visitor lands on the right page. For example, if your site is starts with www, then a visitor that types in your url without the www may get this error. If your .htaccess file redirects them first, then that error should go away.

    For example:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^(www\.yourwebsite\.com)?$
    RewriteRule ^(.*)$ https://www.yourwebsite.com/$1 [R=301,L]

    Hope that helps the next person…

    czombos

    (@czombos)

    Hi,

    I have tried to add the code to the .htaccess page still i’ve got 403 error.

    Can you please tell me what should i put in the htaccess as it is already has the following code

    # 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

    Thanks in advance.

    jackson778

    (@jajosologmailcom)

    Any fix for this besides editing the htaccess?

    I tried that already.

    The wordpress settings redirect site.com to https://www.site.com

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I get an error 403-Forbidden page instead of the login page’ is closed to new replies.