Hi guys Quick question... so I am trying to clock an affiliate link. I looked up several tutorials on how to do this with php, since it is effective. I have created my .php file in notepad... I used the following code: <?php header( 'Location: AFFILIATE LINK' ) ;?> Now that I have my php file.. where do I upload it? I use FTP.. I host wordpress on my own. I just don't know where to upload the file. Thank you! Heather
I upload it along with www...public html... etc or do I actually put it in one of these folders? When I tried to just upload it to the main directory, the cloak didn't work.
If you upload file.php to the main directory, go to: site.com/file.php would you be able to access it? Do you have htaccess turned on? Peace,
It works now.. thanks! However, now when I click masked affiliate link.. the new browser still shows my hop link. Is there additional php code I could add so that is masked as well? Thanks