Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to remove country code from image src?


robster2

Recommended Posts

Posted

In the secondary language, all image sources are added with a /cs countrycode after .jpg witch of course breaks the image link..

Is there any way I can get rid of this /cs??

 

This is caused by the contribution Ultimate seo urls 5.. Ive posted there aswell with no answer..

 

Can someone please help me with this?

 

Thanks in advance

Rob

Posted

@@robster2

 

I don't see anywhere that Ultimate SEO URLS 5 by FWR Media changes the image wrapper output to include the country. In fact, that contribution doesn't alter the image wrapper at all. I suggest you check your installation for errors or possibly, you aren't using that contribution ?

 

 

 

Chris

Posted

Hi Chris..

 

Ultimate SEO URLS 5 by FWR Media adds a country code like /cs to all urls when used with multilanguage support on the non default languge pages.. unfortunately even image src gets the same treatment leaving it like

/products/image_1.jpg/cs.. a normal popup script can read it but when used in lightboxes or JQ zoom it does not get recognized..

 

Im trying to rewrite the links with .htaccess but so far no luck..

 

My employer demands JQ zoom and the site is well indexed on Google with seo5 with its current settings so I cant turn it off or change it..guess Im a bit in trouble here..

Posted

@@robster2

 

I suggest contacting Robert at FWR Media as I don't see anywhere in the code edits that his contribution changes the image wrapper function. Also, if you are offering osCommerce commercial services, you should be familiar enough with osCommerce to trouble shoot issues without the assistance of this forum.

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...