Support » Fixing WordPress » Rename attachment titles to match parent post title

  • jasmil345

    (@jasmil345)


    I have hundreds of images that have the name of the file which is useless, since they are just numbers. I want to rename the attachments to the same name as the parent post.

    Is there a way to bulk do this with mysql?

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

    What permalink structure are you using? Because if you are using /%postname%/, giving images the same name as their post could cause all kinds of problems.

    jasmil345

    (@jasmil345)

    I am using /%postname%/, but I’m not changing the permalinks or filenames. I want to change the titles only. I would love to update the Alt, too, but I’m mainly interested in the titles. I can’t find any documentation to mass update attachment titles.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rename attachment titles to match parent post title’ is closed to new replies.