• Resolved dajense

    (@dajense)


    Hi,

    for development purposes I copied a WP-MU site to our testserver. I followed the advice on Moving WordPress Multisite , changing among other things

    • sitemeta.siteurl and .sitename
    • for each blog: prefix_i_options.siteurl and .home

    Most things are working fine. But if I do a search on the main blog that returns results from any of the subblogs the home_url is still the old one. That is the_permalink() returns the wrong url. However, other functions, such as bloginfo(‘url’) return the correct url.

    Does anybody know from which fields in the database the_permalink urls are generated? I searched for quite a while and couldn’t figure out what is wrong.

    BTW: The links on the subblogs are all correct…

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • But if I do a search on the main blog that returns results from any of the subblogs the home_url is still the old one.

    Then you missed one in the database. Do a global search for the old domain.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    And make sure you search for it as domain.com (sans the www)

    Thread Starter dajense

    (@dajense)

    Sorry for not getting back to you. Another project came up and I didn’t have time to fix this. Just wanted to let you know, that the problem was due to some views created way back before I started working on this project. But you put me on the right track. Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search generate wrong permalinks after moving site to a different domain’ is closed to new replies.