How do you change the links? (10 posts)

  1. jnimon
    Posted 7 years ago #

    I moved WP to a new server. It has a different path than the previous host. The Database was setup successfully and the home page comes up at http://www.marcdupontministries.org.php5-2.dfw1-1.websitetestlink.com/

    If you click any links, though, it cannot find any of them. I know the paths need adjusted but how do you do that?

    James Nimon

  2. Jay Versluis
    Posted 7 years ago #

    Looking at your site, I think you need to update your wp-config.php file. Check if that's set to the new database (including database name, user name, password and host).

    Once you've done that, use phpMyAdmin to browse your database. Find the wp_options table and update your domain name and absolute server path.

    That should do the trick.

  3. jnimon
    Posted 7 years ago #

    The Database is correct. So...

    I am familiar with PHP Admin. But is there an effective way to browse the database? Thanks! - James

  4. Chris_K
    Posted 7 years ago #

    Out of curiosity, if you reset the Permalinks to Default do links then work?

  5. jnimon
    Posted 7 years ago #

    Well, the weird thing is, I can't find the login page now. I would love to answer that question myself.

  6. Chris_K
    Posted 7 years ago #

    Is that link in your first post really the blog link? Cause wow, but that's a horrid one to remember or print on a business card!

    When you set up the blog, what did you provide for Site URL and Blog URL?

  7. jnimon
    Posted 7 years ago #

    The site url will be http://www.marcdupontministries.org which is active currently on another host of mine. So they assigned the temporary test one you now see and love.;)

  8. Chris_K
    Posted 7 years ago #


    OK, but is that lovely URL what was specified when you installed the new blog for the URL values?

    Reason I ask is that when I view the source, I see it is pulling your theme's style sheet from http://marcdupontministries.org/new/wp-content/themes/Essence-Blank/style.css which is a (presumedly) different site altogether. That gets me to wondering what your wp-config.php has for database server settings -- is it also looking at the old site, for example?

  9. jnimon
    Posted 7 years ago #

    Here's the piece of the wp-config you will be interested in.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', '390114_mdm');

    /** MySQL database username */
    define('DB_USER', [moderated]);

    /** MySQL database password */
    define('DB_PASSWORD', [moderated]);

    /** MySQL hostname */
    define('DB_HOST', 'mysql50-14.wc1.dfw1.stabletransit.com');

    /** 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', '');

  10. jnimon
    Posted 7 years ago #

    When I moved the files over, did I miss a step (or several) in the process?

Topic Closed

This topic has been closed to new replies.

About this Topic