XFileSharing Pro - Can i change word free in My affiliate Link

Message
Author
xplan
Posts: 23
Joined: Jul 30, 2010 5:33 am

Can i change word free in My affiliate Link

#1 Postby xplan » Jun 03, 2011 3:39 am

from my account can i change word free to other word like example below

because word "free" will make misunderstand to some user about it

Code: Select all

http://domain.com/free1.html
to

Code: Select all

http://domain.com/ref1.html


by change word in this line from

Code: Select all

 my_account.html

Code: Select all

<TR><TD><TMPL_VAR lang_my_affiliate_link>:</TD><TD colspan=2><a href="<TMPL_VAR site_url>/free<TMPL_VAR usr_id>.html"><TMPL_VAR site_url>/free<TMPL_VAR usr_id>.html</a></TD></TR>
to

Code: Select all

<TR><TD><TMPL_VAR lang_my_affiliate_link>:</TD><TD colspan=2><a href="<TMPL_VAR site_url>/ref<TMPL_VAR usr_id>.html"><TMPL_VAR site_url>/ref<TMPL_VAR usr_id>.html</a></TD></TR>
if change is it make site effct ?

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Jun 03, 2011 6:49 am

You need to change .htaccess as well.

xplan
Posts: 23
Joined: Jul 30, 2010 5:33 am

#3 Postby xplan » Jun 03, 2011 11:29 am

in .htaccess from root ( htdocs folder )

Code: Select all

RewriteRule    ^free([0-9]+)\.html$  /cgi-bin/index.cgi?op=registration&aff_id=$1 [L]
to

Code: Select all

RewriteRule    ^ref([0-9]+)\.html$	/cgi-bin/index.cgi?op=registration&aff_id=$1 [L]
this is working

can use

Code: Select all

 " referral/ " instead of " free "