{ Dev Farm }

Web & Windows Development

When downloading the plugin add an .html extension to the file

Home Forum Wp Gpx Maps Support When downloading the plugin add an .html extension to the file

  • Il topic è vuoto.
Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • #99598 Rispondi
    Riccisporivi
    Ospite

    Hi,
    when you click the link under the map to download the file (i.e. from here: https://www.riccisportivi.it/escursioni/la-panoramica-sponda-della-val-biandino), it is downloaded the gpx file with the extension .html

    What could be the problem?

    #99627 Rispondi
    Marco
    Ospite

    I think that the problem is in the use of WP_SITEURL instead of WP_HOME for url creation.

    In your case seems that the site is something.it (WP_SITEURL) but the installation directory is something.it/wordpress (WP_HOME).

    Changing the urls from something.it/wp-content/uploads/gpx/la_panoramica_sponda_val_biandino.gpx to something.it/wordpress/wp-content/uploads/gpx/la_panoramica_sponda_val_biandino.gpx seems to solve.

    @devfarm.it can it be changed or a setting can be added for this special case when the wp-content is in a different folder than the siteurl? Thank you.

    #99628 Rispondi
    Riccisporivi
    Ospite

    Thank you very much @Marco! Problem solved

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
Rispondi a: Risposta #99628 in When downloading the plugin add an .html extension to the file

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




Non è possibile lasciare nuovi commenti.