WordPress.org

Ready to get started?Download WordPress

Forums

How to re run config file? (3 posts)

  1. bran8464
    Member
    Posted 8 years ago #

    I had a copy of my site put on another url lock stock and barrel as I want to use most of what's on there. Problem is although I know the site's there on the new url it goes to the original site 'cos the wp-config file still has the old database. Am I right if I can change that to the new db that the problem will be solved? Is there a tool that will allow me to run the config again and what files will I need to do that please?

  2. moshu
    Member
    Posted 8 years ago #

    You don't need any tool - except a simple plain text ediotr.
    And you don't "run" the config file. Just open it and replace the old values with the new ones.
    BTW, is the database imported to the new site? Otherwise the whole "copy of my site" is an emtpy carcass :)
    You have to backup your old DB and restore it in the new location:
    http://codex.wordpress.org/Backing_Up_Your_Database
    (read the whole thing and you'll find instructions for restoring, too)

  3. winspire
    Member
    Posted 7 years ago #

    Moshu

    This may be the solution I'm lookin for..

    unable to run install.php - I get the std msg wp-config not found after the install.
    Could it be becos I need to import db (after exporting). I figured that if I've backed it up(ie exported) the original should still be accessible after new install/upgrade(2.05).

    Would this cause the install.php not to run?.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.