Mass Update all image attachments to Post URLs (4 posts)

  1. Klark0
    Posted 5 years ago #


    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.

  2. vtxyzzy
    Posted 5 years ago #

    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.

  3. kevinpowertv
    Posted 5 years ago #

    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?

  4. Everton
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.