Media Library Error After Changing Domains

  • Unknown's avatar

    I recently changed domains and did all the normal procedures:
    backup files & database
    update url on wp-admin, function.php, wp_option DB, wp-config.php
    update permalinks
    301 redirects
    search and replace tools

    I changed domains. but I am on the same host and the same server.
    I did not migrate (restore the DB into a new one and update the details in wp-config.php)

    The issue I am having is that I see everything has updated to the new domain except in the media library.
    When looking at a file in my media library the file url is still the old domain, however when i hover over the ‘view attachment page’ I see it’s the new domain.

    This has caused file mismatch errors for some of my plugins and causes some embedding to break when using some plugings.

    How can I fix this?

  • Unknown's avatar

    Update: even on new uploads it still shows the old domain as the file url.

  • Hi there!

    I’m afraid that your site is not hosted with WordPress.com. It is a site using the open-source WordPress software (from WordPress.org) but hosted elsewhere.

    Because WordPress.com and WordPress.org are two entirely separate entities, we cannot access files or data for sites that are hosted elsewhere, so we can only assist with sites that are hosted on our servers. You can read more about the differences between WordPress.org software and WordPress.com here:
    https://wordpress.com/support/com-vs-org/

    You can look for help at the community forums here: https://wordpress.org/support/forums/

    http://wordpress.org/support/ is also a great resource for sites using the open-source WordPress.org software.

  • The topic ‘Media Library Error After Changing Domains’ is closed to new replies.