• CassandraMichaels

    (@cassandramichaels)


    I’m uploading a bunch of new media and optimizing them for my SEO strategy. However, my media started uploading as attachments, and I can’t edit the URL and other things for the SEO. Anyone know how to get things to upload as regular media files so I can work with them? Or even “un-attach” these files? They’re not even attached to anything! I’ve tried deleting and re-uploading, but that’s not working.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Do you mean you want the images to link to the files, not their attachment pages?

    Thread Starter CassandraMichaels

    (@cassandramichaels)

    Yes, but it’s not even linking to the attachment page. It’s like the media file itself is uploading as an attachment. When it’s uploading this way, I can’t customize the URL or change the name of the file. Unfortunately, someone else uploaded the media files so I don’t have the option of re-naming and then re-uploading them.

    andywar65

    (@andywar65)

    When ever you upload a media file, it is uploaded as an “attachment”, even if it is not displayed in a post or page. To be more specific, when you upload a media file, a new row in the wp-posts table of the database is created, where the post-type is set to “attachment”. The url of this kind of post-type is not a permalink, wich can be changed, but it’s the actual url where the file is located. You can change other things like the title, the description, the caption and so on.

    andywar65

    (@andywar65)

    A post or page is not a file, it’s just something written in the database, while the picture is a file saved on your server and referred to by the database! WP uses the same table for collecting posts, pages and attachments. If you display the image in a post, you will be able to modify the post permalink for SEO purposes.

    Moderator James Huff

    (@macmanx)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Media As Attachments’ is closed to new replies.