Cleaning up wp_postmeta: a question about relative vs. absolute paths (2 posts)

  1. gendem
    Posted 6 years ago #

    Hi there

    I am migrating my blog to a new home, with a new url and actual filesystem home, and so I am trying to fix the soon-to-be broken links in teh DB.

    In the wp_postmeta table, I see that _wp_attached_file and wp_attached_metadata can point to either an absolute path, or a relative one, the relative one seemingly is relative to <blog home>/wp_content/uploads

    My question is: is it safe to convert an absolute path to a relative one?

  2. gendem
    Posted 6 years ago #

    The answer to this question is yes, this is safe.

Topic Closed

This topic has been closed to new replies.

About this Topic