[英]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.
当我检查并找到图像 url 并打开它时,它显示找不到页面。 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). 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 )但根据我的经验, Apache
从不直接显示404
错误,并将请求传输到WordPress
,然后显示“ page not found
”(可能您的.htaccess
文件也存在一些问题)。
uploads
directory and files have correct permissions (see related post about how to do that).uploads
目录和文件具有正确的权限(请参阅有关如何执行此操作的相关帖子)。.htaccess
file redirects correctly to WordPress
(try visiting a non-existing-file link by your self, until fixed)..htaccess
文件正确重定向到WordPress
(尝试自行访问不存在的文件链接,直到修复为止)。 Example .htaccess
file:示例
.htaccess
文件:
# 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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.