WordPress.org

Forums

permalink for inserted media is missing /attachment/ (1 post)

  1. Yawarakaimono
    Member
    Posted 2 years ago #

    * media into a custom post type*
    When inserting media with a link to its attachment page, that link is missing /attachment/ but when it is added manually the result is working. Without it I get an 404 error. Example :

    http://watisdatdaar.nl/nuwenspete-3/elspeet-elspeters-prehistorie/
    click on the picture and notice /attachment/ in the url.

    * media into post *
    The link to the attachment page looks like /nice_picture/ (for a image titled nice_picture.jpg) and the image's link to the attachment page won't work at all. Adding '/attachment/' doesn't help either.

    The site is configured for pretty permalinks, and working with custom post types.

    Is this a bug or a feature, how can I make it function like a user expects it?

Topic Closed

This topic has been closed to new replies.

About this Topic