Post by bazsa1979 » Fri Apr 26, 2019 11:48 pm

I have two store (Opencart3 - Multistore), and the second store the images is not taken from the first shop folder.

I would like to solve the following: (for example) http://www.pce-hungary.hu/image/ replace this image path (RewriteCond %{REQUEST_FILENAME} - I think...) https://shop.eurochrom.hu/image/

How do I fix this under .htaccess?
(I think the config.php is well configured.)

Newbie

Posts

Joined
Fri Apr 26, 2019 11:42 pm

Post by letxobnav » Sat Apr 27, 2019 4:27 am

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/image/(.*)$
RewriteRule ^(.*) https://shop.eurochrom.hu/image/%1 [R=302,NC]

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by bazsa1979 » Sat Apr 27, 2019 12:10 pm

Thank you very much for the quick solution!

Newbie

Posts

Joined
Fri Apr 26, 2019 11:42 pm
Who is online

Users browsing this forum: No registered users and 10 guests