Jump to content

When friendly-url enabled, path to images change


VladimiR713

Recommended Posts

Hello, I have found some problem on my eshop when i enable friendly urls. The path to catalog images change, and because the path doesn't exist, images won't show up

Path without Friendly url is this:

src="https://myeshop.cz/img/p/8/8-large_default.jpg"

When enable friendly url, the path to images is changed like this:

https://myeshop.cz/8-home_default/legíny-pink-pwr-dlouhé-vysoký-pas.jpg
  • Same problem on product page, just little bit different url.

How can i change this behavior? Thank you

Link to comment
Share on other sites

Hi, 

That's not an error, if your htaccess rules are set properly that should work like a charm. The reason for a friendly URL is that your images have a friendly URL as well.

I tried to access your URL, but didn't manage too. Somehow I get the feeling the issue lies on your htaccess files, which either hasn't been generated, or your server is Nginx based which changes the game plan!

https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fmyeshop.cz%2F

Regenerate your htaccess file, by saving the SEO and URL URl/path section. 

Leo

Link to comment
Share on other sites

6 hours ago, Prestachamps said:

Hi, 

That's not an error, if your htaccess rules are set properly that should work like a charm. The reason for a friendly URL is that your images have a friendly URL as well.

I tried to access your URL, but didn't manage too. Somehow I get the feeling the issue lies on your htaccess files, which either hasn't been generated, or your server is Nginx based which changes the game plan!

https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fmyeshop.cz%2F

Regenerate your htaccess file, by saving the SEO and URL URl/path section. 

Leo

Maybe the reason is i have nginx, not apache?

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