Jump to content

on htaccess - problems If you use another hosting service for images


Nikpro

Recommended Posts

on htaccess - problems If you use another hosting service for images.help me understand.
When enabled the "Friendly URL " images from another server is not loaded. I need to work "Friendly URL" and pictures downloaded from another web hosting!
How can I do?

Version prestashop :1.3.6

My actions:

1.edite Link.php

return ($this->allow == 1) ? ('http://www.hostname.ru/wp-content/img'.$ids.(type ? '-'.$type : '').'/'.$name.'.jpg') :

('http://www.hostname.ru/wp-content/img/p/'.$ids.(type ? '-'.$type : '').'.jpg');





2.on URL rewriting

3.Generate file .htaccess

ps: URL rewriting works if the images are on the same hosting as the system itself prestashop. if you disable the URL rewriting, the images are loaded from another server.

Shortcuts to form a picture when turned on URL rewriting




load images/ Shortcuts to form a picture when turned off URL rewriting









example as it is now not working

http://www.sporttimedv.ru/2_asics--






I tried to solve the problem
delete files and create a new (regenerate) .htaccess

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...