Forums

change wp url (3 posts)

  1. luis0910
    Member
    Posted 1 year ago #

    When I changed the url of my wp, many links broken, then I tryed this query:
    UPDATE wp_posts SET post_content = (SELECT REPLACE(post_content, 'http://maxicaixa.com.br/wp/', 'http://maxicaixa.com.br/')), guid = (SELECT REPLACE(guid, 'http://maxicaixa.com.br/wp/', 'http://maxicaixa.com.br/'))

    to update my database.

    Its would be incorporate to core of wpmu.

  2. samboll
    moderator
    Posted 1 year ago #

  3. nublooo
    Member
    Posted 1 year ago #

    Ah, yes. I learned this the hard way. I had to update all custom fields manually for each post after switching servers. Each post had a post thumbnail, and the whole Media Library showed empty files although all images were in the same place.

    Too bad this page you link to, Samboll, isn't highlighted and linked to in BOLD letters in the WordPress General Settings page. It should be. If only I had known this earlier!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags