wordpress install config-sample.php

I’ve looked for some information on this but can’t seem to resolve the issue I am having. I have just installed the wordpress manually to my server and it installed fine, redirected me to the wp-admin section and I was able to login fine. But when I go to the main site it comes up with this error:

The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.

Read More

I typed the error in Google and came up with a few options but unfortunately none of them seemed to work.

Related posts

Leave a Reply

1 comment

  1. I know I’m little late for this and you probably figured it out.

    What happen is that you have one wordpress installed in your root folder and you want to install another wordpress in other folder or site that is inside your root/website.

    All you need to do is configure both wp-config.php with their information and place both in there places again. The main one in root, and the new one in the subfolder.

    Ex:
    root/ (your site 1 wp-config.php file) configure it again and place it here

    root/yoursite2 (your site 2 wp-config.php file) configure it again and place it here

    After you have done that refresh both pages and it should work.

    At least that is what was happening to me and that’s what I did.

    Hope I have helped you!

    Cheers.