WordPress.org

Support

Support » How-To and Troubleshooting » Mass Update all image attachments to Post URLs

Mass Update all image attachments to Post URLs

  • Hey,

    I have 90k image attachments on 60k posts, all linking to the file url.
    I need to them to go to the Post url instead ..ie. /postname/attachment/attachmentname instead of wp-content/uploads/2010/10/filename.jpg

    I just did the last week manually, and my finger are hurting. Surely there must be some database query i can run, or some obscure plugin that i haven’t come across.

    thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I may be able to help if you can provide details of what changes in the database when you change the link. Please email me at mac =at= mcdspot =dot= com and I will see what I can do.

    I’m trying to do just the opposite. I want to update all image links to the image URL from the attachment page. Anyone know how to do this?

    did anyone find a way to do this? I want to go file–>post url

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mass Update all image attachments to Post URLs’ is closed to new replies.
Skip to toolbar