WordPress redirect isssue (3 posts)

  1. dougkpga
    Posted 6 years ago #

    Hi guys,

    I went through the process of downloading a wordpress blog from http://www.dougkercher.com/mdc with phpadmin and imported it to http://www.cleanmyclothes.com.au

    and it was working.

    Now when I login to http://www.cleanmyclothes.com.au/wp-admin it somehow redirects to http://www.dougkercher.com/mdc

    with this link - http://www.dougkercher.com/mdc..%2Fwp-admin%2F

    I did have the blog working but I dont know why it is redirecting now.

    As I had both this blogs working on its own domain I have no idea why it is redirecting.

    Can you help please or point me in the right direction.

    Thanks Doug

  2. simplistik
    Posted 6 years ago #

    You may need to do a couple things. You'll need to log into your database and change all instances of http://www.dougkercher.com/mdc to http://www.cleanmyclothes.com.au you will also need to do the same in your wp-config.php file there will be one line that has your old address in it if you haven't changed it.

  3. dougkpga
    Posted 6 years ago #

    I tried all this and now http://www.cleanmyclothes.com.au comes up as the Homepage but when I want to access any of the other pages I get this

    Error establishing a database connection

    But I can access the dashboard and see the content of the pages in there -

    then when I go to visit site I get this again -

    Error establishing a database connection

    I am a bit lost here...

    I have checked the wp-config file and it looks ok to me...

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

    /** MySQL database username */
    define('DB_USER', 'cleanmyc_dougk');

    /** MySQL database password */
    define('DB_PASSWORD', 'golf7777');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    Cheers Doug

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.