我有两个商店(Opencart3 - Multistore),第二个商店的图像不是从第一个商店文件夹中获取的。
我想解决以下问题:(例如)http://www.pce-hungary.hu/image/
替换此图像路径(RewriteCond %{REQUEST_FILENAME}
- 我认为......)https://shop.eurochrom.hu/image/
我如何在.htaccess下修复此问题?
必须添加这两行并且非常好:
RewriteCond%{REQUEST_URI} ^ / image /(.)$ RewriteRule ^(。)https://shop.eurochrom.hu/image/%1 [R = 302,NC]