AWS S3 service and external links inside WordPress

I try to set inside functions.php also an external link. An example:

<?php
//S3 source
define('BASE_DOMAIN',preg_replace('/^www\./','',BASE_DOMAIN_WWW));
define('BASE_URL_HTTPS_AMAZONAWS', 'https://'. "examplecomexternalpush". '.'.BASE_DOMAIN. '.'. 's3.amazonaws.com'. '/'. 'myfolder/');
//Function
wp_enqueue_script('sup',get_template_directory_uri() . '/AWSWithExternalLink','','',true);
?>

How to manage function to push at the bottom also a link due to external link without resources (existing page)?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.