htaccess Configuration | |
Note: Please copy the below htaccess code and put it in your .htaccess file at the root. Please note that if you have already added the code earlier to your .htaccess file and make any changes to the tracking link url, you should overwrite the same in the .htaccess file with the below code.
The htaccess files are standard apache configuration file where you can add run time directives for web server configuration. By Default, SEO Friendly URLs processing web server module called "mod_rewrite" may not be switched on the domain configuration. The below mentioned code needs to be uploaded in ".htaccess" file on your domain FTP root. The lines explained: RewriteRule ^__affiliate_path__([a-zA-Z0-9_]+)\.(.*)$ __affiliate_path2__/affiliate_manager/clickThrough.php?affiliate_username=$1 [L] - Tells the server that if any link like __VROOT_DIR__/__affiliate_path__/affiliate_name.html comes it has to be served by the designated script. | |