Forums

permalink: /%category%/%postname% no images (4 posts)

  1. bateman10
    Member
    Posted 2 years ago #

    I have just changed my permalinks. They are now customized at /%category%/%postname% on http://www.andreashuesch.de

    Everything is fine, I get access to all my posts, but when I click on an image, I received the following error-messge:

    404 - The Server can not find it !

    The post or the page that you are looking for, is not available at this time. It could have been moved / deleted.

    Please browse through the archives / search through the site.

    Let's take an example: http://andreashuesch.de/southern-highlands/spider-watch

    .de/southern-highlands/ is the category
    .de/southern-highlands/spider-watch is category with the name of post (spider-watch). It works, fine! But please click on the image, and you receive the error-message.

    Can you please help me, with this issue?

    When I changed the permalink-structure it said, that "permalink hast been updated" so it didn't mention the .htaccess

    What do you think?

    Cheers,
    Andreas

  2. thinkoholic
    Member
    Posted 1 year ago #

  3. Sam_a
    Member
    Posted 1 year ago #

    If this is happening for images attached to posts (at category/postname/attachment), it's a Wordpress bug, unfortunately.

    If you want to keep the %category%/%postname% structure, you have change how Wordpress generates the attachment URLs, probably by plugin.

    The default structure will work:

    http://andreashuesch.de/?attachment=garden-wolf-spider-watch

    and this might even work (from your example) -- add /attachment/ between post name and attachment:

    http://andreashuesch.de/southern-highlands/spider-watch/attachment/garden-wolf-spider-watch

  4. Covi
    Member
    Posted 1 year ago #

    :(

Topic Closed

This topic has been closed to new replies.

About this Topic