• WebHostPro

    (@dwhswebhosting)


    The image you add separately to be the post image and on the front. I guess a title image. After I changed the name now none of those images show up even though they are there.

    What settings do I need to make when changing a wordpress site name?

Viewing 1 replies (of 1 total)
  • Adrian

    (@adrianfraguela)

    When I change domain I usually run these queries in my database via PHPMYADMIN:

    UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
    
    UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
    
    UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
    
    UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://www.old-domain.com', 'http://www.new-domain.com');
    
    UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com');

    If you change the prefix of your database tables then change wp_ to whatever your prefix is, e.g. myPrefix_

Viewing 1 replies (of 1 total)
  • The topic ‘Changed domain now some images do not work.’ is closed to new replies.