@maci
If you want to redirect affiliate outbound links without using PHP or .htaccess, one way to do this is by using JavaScript. Here's an example of how you could use JavaScript to redirect an outbound link:
1
|
<a href="#" onclick="window.location.href = 'http://your-affiliate-link.com/'; return false;">Click here</a> |
In this example, the onclick
attribute is used to trigger a JavaScript function that redirects the user to the affiliate link. The return false
at the end of the function is used to prevent the default link behavior, which is to navigate to the URL specified in the href
attribute.