Hi.
Open file :
plugins/system/plg_jaamazons3/plg_jaamazons3.php
Look for:
//find and replace urls
$pattern = "/(link.*href|src|poster)\s*=\s*(\")\/([^\/][^\'\"]*)(\")/i";
$body = preg_replace($pattern, '$1=$2'.$host.'/$3$4', $body);
$pattern = "/(link.*href|src|poster)\s*=\s*(\')\/([^\/][^\'\"]*)(\')/i";
$body = preg_replace($pattern, '$1=$2'.$host.'/$3$4', $body);
Change to:
$protocol = preg_replace('/\:(.*?)$/',':/',$host);
//find and replace urls
$pattern = "/(link.*href|src|poster)\s*=\s*(\")\/([^\/][^\'\"]*)(\")/i";
$body = preg_replace($pattern, '$1=$2'.$host.'/$3$4', $body);
$pattern = "/(link.*href|src|poster)\s*=\s*(\')\/([^\/][^\'\"]*)(\')/i";
$body = preg_replace($pattern, '$1=$2'.$host.'/$3$4', $body);
$pattern = "/(link.*href|src|poster)\s*=\s*(\")\/\/([^\/][^\'\"]*)(\")/i"; // with // start
$body = preg_replace($pattern, '$1='.$protocol.'/$3', $body);
$pattern = "/(link.*href|src|poster)\s*=\s*(\')\/\/([^\/][^\'\"]*)(\')/i"; // with // start
$body = preg_replace($pattern, '$1='.$protocol.'/$3', $body);