404 error when try open image from thumbnail (6 posts)

  1. Glook
    Posted 7 years ago #

    Redy? Go!
    1. Set permalinks /category/postname/
    2. Create post and upload image. Set for image: "Show - Thumbnail" and "Link to - page"
    3. Open site and view your post. (it`s ok)
    4. Try click on image. Oops! It`s 404 error! Wtf?

    But if you permalinks look like http://yoursite.com/?p=123, then its ok, you will see your image, and no 404 error. Tell me please, why, and what i should do?

  2. ayushsaran
    Posted 7 years ago #

    looks like you are having a problem with your rewrite Engine

    in the .htaccess file.

    take a look at it before and after setting your permalink structure and see if there is any change.

    It may need to be updated manually

  3. Glook
    Posted 7 years ago #

    Well... It`s all ok with .htaccess file.
    This code in file after setting permalinks /category/postname/ mode.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    And all work fine, but not thumbnails...

  4. ayushsaran
    Posted 7 years ago #

    do you have a link to the site ?

  5. jasoninmo
    Posted 7 years ago #

    Does anybody no how to fix this? I have seen ton's of people ask about this, I'm having the same problem.

  6. Glook
    Posted 7 years ago #

    Ok, guys, it`s a bug!

    see Attachment page not found (404)

Topic Closed

This topic has been closed to new replies.

About this Topic