Forums

[Plugin Search and Replace] Need more values to be replaced (4 posts)

  1. hansmagnus
    Member
    Posted 1 year ago #

    Great plugin, however more options are needed. I added guid from posts, and meta_value from postmeta, but I still can't seem to hit the path of uploaded files (which are not used in posts).

    If I go to /wp-admin/upload.php?action=view&ID=SOME# I still see the old path. Where is this located in the db?

    Thnx in advance,
    Hans Magnus

    http://wordpress.org/extend/plugins/search-and-replace/

  2. MichaelH
    moderator
    Posted 1 year ago #

    Where is this located in the db?

    The wp_options table has an 'option_name' of "upload_path" with a relative path value.

  3. hansmagnus
    Member
    Posted 1 year ago #

    You mean what can be set in the admin panel? That is set to the standard wp-content/uploads.

    I need to modify the path of files uploaded before WP was moved to new server (and new URL). The files in posts have the correct url, since I replaced this. The Upload Browser, on the other hand, shows:

    • wrong (old) URL
    • wrong (old) preview of linked file, both href and img src
    • correct (new) thumbnail liked to page (href), but wrong (old) img src

    Not sure where I have missed, been browsing the db for a while...

    - HM

  4. Bueltge
    Member
    Posted 1 year ago #

    I have the plugin, now you can search & replace the two fields in two tables. And also it is possible to replace admin-datas.

Topic Closed

This topic has been closed to new replies.

About this Topic