[英]Wordpress, Woocommerce site some of products images not showing
谁能帮忙,为什么我的网站产品图像没有显示,即使我尝试在媒体文件夹中查看它们显示空白,但所有图像仍然存在于上传文件夹中。 当我检查并找到图像 url 并打开它时,它显示找不到页面。 供您参考请查看网站:在此处输入链接描述
帮我解决这个问题。
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
目录和文件具有正确的权限(请参阅有关如何执行此操作的相关帖子)。.htaccess
文件正确重定向到WordPress
(尝试自行访问不存在的文件链接,直到修复为止)。 示例.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.