• Hi there,

    I’ve been asked to install wordpress on a friend’s website – wwwjohnbogomil.com

    Their hosting is unusual and I was given a login for HeidiSQL which I was able to connect to with the database login details. However after asking on their forum I was told wordpress cannot be installed using HeidiSQl, it must be installed using FTP to upload wordpress and then run the installation via the browser.

    That’s what I did, it seemed to work OK but it won’t let me login, saying access is denied error 403.

    Some advice appreciated….

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    – 403 forbidden means that your browser isn’t able to load the scripts up because your server isn’t allowing it. This is a hard one to solve. Because anything could be blocking the server.
    – Most likely this is a server permissions/ownership issue, so ask your host what’s going on
    – check your .htaccess files for anything strange.
    – make sure your server settings are not overriding the .htaccess file

    Once you get the error – first thing to check is the apache webserver error log. Depending on your OS it has a different location; on Mac OS X it’s in /var/log/apache2/error_log, on most Linux boxes it’s in /var/log/httpd/error_log

    If the error is similar to:

    [Tue Jun 28 18:21:48 2011] [error] [client ::1] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:
    Then add “Options +FollowSymLinks” to your .htaccess file at start of the file:

    Options +FollowSymLinks
    # 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

    Now the 403 should be no more.

    Castor oil uses

    Thread Starter ajarn

    (@ajarn)

    thanks for replies.It looks like a problem with the database permissions.Have asked for them to be checked.

    Moderator t-p

    (@t-p)

    You are welcome ??

    Thread Starter ajarn

    (@ajarn)

    Just to follow up…..

    The permissions on the database were changed and wordpress installed OK now.

    I am a bit concerned about the remaining installation files on the root of the domain name as it appears they may be run by someone else. What is best to do with these files ?

    Moderator t-p

    (@t-p)

    I am a bit concerned about the remaining installation files on the root of the domain name as it appears they may be run by someone else.

    “run by someone else”?

    I don’t follow.

    Thread Starter ajarn

    (@ajarn)

    What I mean is, for example, this URL will still load – https://johnbogomil.com/wp-admin/install.php

    Is it safe to leave it like that ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘error 403 when logging into new installation of wordpress’ is closed to new replies.