Title: 404 image error
Last modified: September 1, 2016

---

# 404 image error

 *  [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/)
 * Can someone please help
    Images on my posts display fine until clicked on. When
   I click on individual images I get 404 error.
 * I have tried to deactivate all my plugins, changed themes and changed permalinks
   settings. Nothing seems to be working.
 * [http://www.pureweddingblog.com/diy-wine-bottles-centerpieces](http://www.pureweddingblog.com/diy-wine-bottles-centerpieces)

Viewing 15 replies - 16 through 30 (of 34 total)

[←](https://wordpress.org/support/topic/404-image-error/?output_format=md) [1](https://wordpress.org/support/topic/404-image-error/?output_format=md)
2 [3](https://wordpress.org/support/topic/404-image-error/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/404-image-error/page/3/?output_format=md)

 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490040)
 * .htaccess05252013
 * # BEGIN WPSuperCache
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /#
   If you serve pages from behind a proxy you may want to change ‘RewriteCond %{
   HTTPS} on’ to something more sensible AddDefaultCharset UTF-8 RewriteCond %{REQUEST_URI}!
   ^.*[^/]$ RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond %{REQUEST_METHOD} !
   POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie} !^.*(comment_author_
   |wordpress_logged_in|wp-postpass_).*$ RewriteCond %{HTTP:X-Wap-Profile} !^[a-
   z0-9\”]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC] RewriteCond %{HTTP_USER_AGENT}!
   ^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo
   |Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990
   |MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm
   |PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small
   |SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\
   CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ 
   Obigo|LGE\ VX|webOS|Nokia5800).* [NC] RewriteCond %{HTTP_user_agent} !^(w3c\ 
   |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang
   |doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/
   u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|
   phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem
   |smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa
   |wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC] RewriteCond %{HTTP:Accept-Encoding}
   gzip RewriteCond %{HTTPS} on RewriteCond %{DOCUMENT_ROOT}/home1/masilo/public_html/
   wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f RewriteRule
   ^(.*) “/home1/masilo/public_html/wp-content/cache/supercache/%{SERVER_NAME}/$
   1/index-https.html.gz” [L]
 * RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond%{
   REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie}!
   ^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$ RewriteCond %{HTTP:X-
   Wap-Profile} !^[a-z0-9\”]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
   RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry
   |Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|
   IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ 
   Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet
   |SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.
   Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android
   |BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC] RewriteCond %{
   HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz
   |brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno
   |lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt
   |noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri
   |sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi
   |vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC] RewriteCond%{
   HTTP:Accept-Encoding} gzip RewriteCond %{HTTPS} !on RewriteCond %{DOCUMENT_ROOT}/
   home1/masilo/public_html/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.
   html.gz -f RewriteRule ^(.*) “/home1/masilo/public_html/wp-content/cache/supercache/%{
   SERVER_NAME}/$1/index.html.gz” [L]
 * RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond%{
   REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie}!
   ^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$ RewriteCond %{HTTP:X-
   Wap-Profile} !^[a-z0-9\”]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
   RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry
   |Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|
   IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ 
   Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet
   |SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.
   Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android
   |BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC] RewriteCond %{
   HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz
   |brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno
   |lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt
   |noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri
   |sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi
   |vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC] RewriteCond%{
   HTTPS} on RewriteCond %{DOCUMENT_ROOT}/home1/masilo/public_html/wp-content/cache/
   supercache/%{SERVER_NAME}/$1/index-https.html -f RewriteRule ^(.*) “/home1/masilo/
   public_html/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html” [
   L]
 * RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$ RewriteCond%{
   REQUEST_METHOD} !POST RewriteCond %{QUERY_STRING} !.*=.* RewriteCond %{HTTP:Cookie}!
   ^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$ RewriteCond %{HTTP:X-
   Wap-Profile} !^[a-z0-9\”]+ [NC] RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
   RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry
   |Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|
   IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ 
   Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet
   |SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.
   Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android
   |BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC] RewriteCond %{
   HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz
   |brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno
   |lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt
   |noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri
   |sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi
   |vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC] RewriteCond%{
   HTTPS} !on RewriteCond %{DOCUMENT_ROOT}/home1/masilo/public_html/wp-content/cache/
   supercache/%{SERVER_NAME}/$1/index.html -f RewriteRule ^(.*) “/home1/masilo/public_html/
   wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html” [L] </IfModule>
 * # END WPSuperCache
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
    not sure if this helps
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490041)
 * *sigh* And that’s all it should say – which is no help at all.
 * I am totally stumped as to where this extra `\` is coming from. I suspect it’s
   part of the problem that is resulting in these 404s.
 * Can you please describe _exactly_ the process you use to insert an image – with
   its link – into a Post or Page.
 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490045)
 * dashboard-media-add new, nothing else
 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490048)
 * [@esmi](https://wordpress.org/support/users/esmi/): Trailing slashes in the URL
   are normal when the images in question are linked to their _attachment pages_(
   rather than the image files themselves), so I don’t think they’re the problem
   here, I think the images are simply linked to those pages.
 * What I _do_ think might be the problem is the use of lowercase vs. uppercase 
   letters in the URLs; on many servers, lowercase and uppercase are not equivalent,
   and thus, would not point to the same URLs.
 * If that is what’s going wrong here, then for the image named IMG_9190, the correct
   attachment page URL would be `http://www.pureweddingblog.com/IMG_9190/` not `
   http://www.pureweddingblog.com/img_9190/`
 * But with the plain permalinks in place, we can’t test that theory, so if [@asipaballo](https://wordpress.org/support/users/asipaballo/)
   can switch them back to whatever they were before, then we _can_ test it to see
   if I’m on the right track or not.
 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490049)
 * [@girlieworks](https://wordpress.org/support/users/girlieworks/), I’ve switched
   them back to what they were before, postname
 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490050)
 * Okay, I was wrong. DARN IT, so close!
 * [@asipaballo](https://wordpress.org/support/users/asipaballo/) please keep the
   pretty permalinks in place and I’ll see if I can come up with a better idea now.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490054)
 * [@girlieworks](https://wordpress.org/support/users/girlieworks/): It was a nice
   idea, though. 🙂
 * [@asipaballo](https://wordpress.org/support/users/asipaballo/):
 * > dashboard-media-add new, nothing else
 * That explains how you upload them but how to add the smaller images to each post
   and how do you ensure that they are each linking to their full size image?
 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490056)
 * Okay, I was pretty close, but I forgot about one thing: the attachment page URLs
   will include a reference to the post to which the image is attached (if it is,
   in fact, attached to one).
 * So, [@asipaballo](https://wordpress.org/support/users/asipaballo/), THIS is the
   correct URL to which that `IMG_9190` image should be linked (if you want it to
   link to the image’s attachment page, that is):
 * [http://www.pureweddingblog.com/effortless-xhosa-bride-and-groom/img_9190/](http://www.pureweddingblog.com/effortless-xhosa-bride-and-groom/img_9190/)
 * As you can see if you click it, no 404 error.
 * (And you don’t have to worry about the uppercase/lowercase thing, because it 
   apparently doesn’t matter on your server).
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490057)
 * Faulty image link: [http://www.pureweddingblog.com/img_9190/](http://www.pureweddingblog.com/img_9190/)
   
   Correct image link: [http://www.pureweddingblog.com/effortless-xhosa-bride-and-groom/img_9190/](http://www.pureweddingblog.com/effortless-xhosa-bride-and-groom/img_9190/)
 * It still looks to me like these links/images aren’t being added to the posts 
   correctly
 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490060)
 * normally I write the post and then add media. I’ve never added or created a link
   to the media before
 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490062)
 * [@esmi](https://wordpress.org/support/users/esmi/), how do I add images to the
   post correctly
 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490073)
 * [@asipaballo](https://wordpress.org/support/users/asipaballo/): If you go to 
   that post and insert one of the same images again (making sure “Attachment Page”
   is selected in the “Link to” field), and save the post, does the new copy of 
   the image you just added link to the correct URL? Or does it end up linking to
   the wrong URL, too?
 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490089)
 * it ends up linking to the wrong url.
 *  [girlieworks](https://wordpress.org/support/users/girlieworks/)
 * (@girlieworks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490093)
 * [@asipaballo](https://wordpress.org/support/users/asipaballo/): I see one image
   on that post linking to the right URL, and then the same image just after it 
   links to the wrong URL — which one of those two identical images is the new one
   you just added to the post, the first one or the second one?
 *  Thread Starter [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * (@asipaballo)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/2/#post-7490095)
 * tried again, the new copy of the image is correct however I selected custom url
   instead of attachment page

Viewing 15 replies - 16 through 30 (of 34 total)

[←](https://wordpress.org/support/topic/404-image-error/?output_format=md) [1](https://wordpress.org/support/topic/404-image-error/?output_format=md)
2 [3](https://wordpress.org/support/topic/404-image-error/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/404-image-error/page/3/?output_format=md)

The topic ‘404 image error’ is closed to new replies.

## Tags

 * [404Error](https://wordpress.org/support/topic-tag/404error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 34 replies
 * 3 participants
 * Last reply from: [asipaballo](https://wordpress.org/support/users/asipaballo/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/404-image-error/page/3/#post-7490112)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
