Wordpress admin page is redirecting to old site

Discussion in 'Content Management' started by noobie2shoes, Apr 18, 2010.

  1. #1
    Hi All

    I have just transferred my wordpress site to a new domain name but when I am type in the login address: www.newsite.com/wp-admin (not really the address) it redirect to www.oldsite.com/wp-admin login page.

    Does anyone know how I can fix this.

    Cheers :p
     
    noobie2shoes, Apr 18, 2010 IP
  2. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #2
    Log in cpanel >> PhpMyadmin >> Select WordPress database >> click wp_options tables >> edit siteurl

    On siteurl edit page change oldsite.com to newsite.com
    Done!!
     
    aap, Apr 18, 2010 IP
  3. noobie2shoes

    noobie2shoes Peon

    Messages:
    704
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks mate.

    I have taken those steps but the siteurl is newsite.com already.

    When I go to the website it stays on newsite.com but only when I go to the login page it redirects to the oldsite.com/wp-admin

    Wierd....any other ideas?
     
    noobie2shoes, Apr 18, 2010 IP
  4. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #4
    aap, Apr 18, 2010 IP
  5. lelkoun

    lelkoun Active Member

    Messages:
    288
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Download your database, open it in a text editor and use a tool called 'Search and Replace'.
     
    lelkoun, Apr 18, 2010 IP
  6. noobie2shoes

    noobie2shoes Peon

    Messages:
    704
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hmm still no good.

    Freaking wierd. Everything is normal except the login page which decides to redirect.
     
    noobie2shoes, Apr 19, 2010 IP