WordPress.org

Ready to get started?Download WordPress

Forums

Live site and a test site (6 posts)

  1. nomadrw2000
    Member
    Posted 1 year ago #

    Hello everyone:
    I just got a project where I have to do some testing a site. I don't want to mess with the live site so I copied everything to my computer and create a db with a different name.
    I change the wp-config.php files so they match the db

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'noplace1');
    
    /** MySQL database username */
    define('DB_USER', 'nomad');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'nomad');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    Next I made a bookmark so when I clicked on it it would open the Login section.
    When I put in the username and password and click Log In it will take me to the Live Site.
    I'm trying to find out where the redirect section (if thats the name of it) is at what file do I find it at. Any help would be great

    Many thanks
    damon

  2. fonglh
    Member
    Posted 1 year ago #

    http://codex.wordpress.org/Moving_WordPress

    You need to change the site URL in the database.

  3. nomadrw2000
    Member
    Posted 1 year ago #

    thanks fonglh.
    Did a globe search a found a few.

  4. nomadrw2000
    Member
    Posted 1 year ago #

    thanks fonglh.
    Did a globe search a found a few.
    not sure what the path would be
    localhost/no%20place%20like%20home/index.php

    damon

  5. nomadrw2000
    Member
    Posted 1 year ago #

    by the way would the path be like this
    localhost/no%20place%20like%20home/index.php

  6. fonglh
    Member
    Posted 1 year ago #

    You can leave out the index.php. And the URL will look much better without the spaces.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.