• I have a hostgator shared server which allows 1 domain hosting and 10+ addon domain hosting. www.seolayman.com is working as the main domain on it, but installing properly my second wordpress website it login fine in admin panel but fron-end redirects to www.studiesmatter.com/wp-admin/setup-config.php saying 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.

    My website is www.studiesmatter.com. I have tried re-installing it. Both of the websites are 4.4 version.

Viewing 1 replies (of 1 total)
  • Geoffrey Shilling

    (@geoffreyshilling)

    Volunteer Moderator

    This thread recommends:

    1. Make a backup of your site
    2. Look for the following line of code in your wp-config.php: require_once(ABSPATH . 'wp-admin/setup-config.php');
      If this exisits, try commenting it out: /* require_once(ABSPATH . 'wp-admin/setup-config.php'); */
    3. Rename or delete setup-config.php file.
Viewing 1 replies (of 1 total)
  • The topic ‘Front end ask for wp-config file but admin panel works fine.’ is closed to new replies.