• Hi,

    I’ve got an issue after upgrading a wordpress site manually. The issue is whenever I try to upload a new media file. It always keeps the old url on whatever newly upladed media.

    Ps: I am doing the upgrade on a local machine.

    I have actually updated urls in the database as follow:

    UPDATE wp_options SET option_value = replace(option_value, 'old', 'new') WHERE option_name = 'home' OR option_name = 'siteurl';
    UPDATE wp_posts SET guid = replace(guid, 'old', 'new');
    UPDATE wp_posts SET post_content = replace(post_content, 'old', 'new');
    UPDATE wp_postmeta SET meta_value = replace(meta_value,'old', 'new');

    Probably, I am missing something?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Issue with media library while upgrading a wordpress site manually’ is closed to new replies.