Urls/file paths for icons including www?

  • frete
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 9 months ago #13139 by frete
I changed my domain name settings to redirect to urls without www (domain.com instead of www.domain.com). But then all icons in the maps were missing/broken. Looks like they have a file path including www, is it hard coded somewhere? Or is it a local problem (but I don´t see how I can change it only for Zh OpenStreetMap)? All other files/images on the web page are working.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #13140 by Dima
Replied by Dima on topic Urls/file paths for icons including www?
I don't store full path.
I use joomla's constants.

For example, my demo site
joomla.zhuk.cc/index.php/zhosmmap-main/o...-map-with-placemarks
and it has alias (configured on server)
www.joomla.zhuk.cc/index.php/zhosmmap-ma...-map-with-placemarks

But it does not have redirect.

Icons displayed in both cases, and in page source you can see correct links to icons.

Probably for redirect case you need configure joomla in this case. Or probably you didn't create full redirect config

Don't forget support my developments: post review in JED , donate , help with thanslation ;)
Last edit: 1 year 9 months ago by Dima.

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds

Donate


Go to top