简体   繁体   中英

Wordpress, Woocommerce site some of products images not showing

Can anyone help, why my website products images not showing, even when i try to see them in media folder its show blank space, But All images are still exists in upload folder. When i inspect and find the image url and open it, It shows the page not found. For you reference Please check the website: enter link description here

Help me to resolve this issue.

Update: I think your thumbnail files exist (even though WordPress shows page not found ), I mean, I tried visiting a non-existing-file link and Apache shows 404 error (and I do not know which version of WordPress your site is using) but in my experience Apache never shows 404 error directly and transfers the request to WordPress which then shows " page not found " (maybe your .htaccess file has some issues too).

  1. Ensure your uploads directory and files have correct permissions (see related post about how to do that).
  2. Ensure your .htaccess file redirects correctly to WordPress (try visiting a non-existing-file link by your self, until fixed).
  3. If security is an issue you should not disclose further information here (else open another question with more details).

Example .htaccess file:


# 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM