• Hello,

    I have a multi-language site.
    mywebsite.com works fine but mywebsite.com/fr, The mp3 file does not work

    Please could you help me ??

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sevsnaive

    (@sevsnaive)

    The link of “download button” don’t work ?? Where to change the URL ?

    Plugin Author pupunzi

    (@pupunzi)

    Hi,

    You can try commenting those lines in the map_download.php file (from line 36 to line 48):

    
    /*
    if($pos){
      if (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) || isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
        $protocol = 'https://';
      }
      else {
        $protocol = 'https://';
      }
    
      $file_url = str_replace ($protocol. $web_address .'/', '', $file_url);
      $file_url = $web_root ."/". $file_url;
      $file_url = str_replace('//', '/', $file_url);
    
    }
    */
    
    • This reply was modified 6 years, 11 months ago by pupunzi.
    • This reply was modified 6 years, 11 months ago by pupunzi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘multi-language site’ is closed to new replies.