Support » Fixing WordPress » permalink for inserted media is missing /attachment/

  • Yawarakaimono

    (@yawarakaimono)


    * 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?

  • The topic ‘permalink for inserted media is missing /attachment/’ is closed to new replies.