WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Klark0
    Member
    Posted 3 years ago #

    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.

  2. vtxyzzy
    Member
    Posted 3 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
    Member
    Posted 3 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
    Member
    Posted 3 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

Tags

No tags yet.