繁体   English   中英

Wordpress, Woocommerce 网站部分产品图片未显示

[英]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文件也存在一些问题)。

  1. 确保您的uploads目录和文件具有正确的权限(请参阅有关如何执行此操作的相关帖子)。
  2. 确保您的.htaccess文件正确重定向到WordPress (尝试自行访问不存在的文件链接,直到修复为止)。
  3. 如果安全是一个问题,您不应该在此处披露更多信息(否则请打开另一个问题以提供更多详细信息)。

示例.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.

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