- This topic has 3 replies, 2 voices, and was last updated 13 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Question on Setting up the Affiliate Login Url
Tagged: setting up affiliate login url
I am on this page: http://www.tipsandtricks-hq.com/wordpress-affiliate/how-to-changecustomize-the-url-of-the-affiliate-view-42
I would like to use Method #1. I understand the first 2 steps, but don’t know where EXACTLY TO upload the index.php after I have modified it with my domain name. Which folder does it go in? Wp-content? And which folder within Wp-content. Or does it go in the Wp-Admin folder? Please help. THanks a lot.
Hi,
Just create a folder from your website’s root directory and call it whatever you like, eg, affiliates.
Then copy your edited index.php which contains your domain name into that folder.
Then if you want people to sign up to your affiliate program send them to:
http://www.yourdomain.com/affiliates
Alternatively, an easier and neater option which doesn’t require you to do anything with the index.php file is to create your own page in wordpress called Affiliates.
Within this page add the following shortcode:
[wp_affiliate_view]
Then add this page to your site’s menu bar or add a link going to this page wherever you like.
Thank you. Creating the page was much simpler, and it integrates into my site better. For future reference, what exactly is the root directory (I’ve never known this)? When I’m in my cpanel, if I click on public_html, then I get a listing of all my add-on domains. Would I just add it into the domain that I will need it in?
My pleasure.
Regarding your root directory question:
For example if you had 2 add-on domains on your hosting account, say they were called
Then from your cpanel file manager, the root directories of each site would be:
/public_html/www.dog-training.com
/public_html/www.cat-training.com