egRevShare: Referral url with format http://yourdomain.com/username
Search:
Referral url with format http://yourdomain.com/username

If you want to change the default script referrer url to easy remember url such as domain.com/username.
This can be done with a special trick, Here the information how do it.

Script refferal url:
http://yourdomain.com/index.php?ref=username
http://yourdomain.com/?ref=username

And you want to change to:
http://yourdomain.com/username

Here the trick how to make it possible:
- First, make sure that your hosting server is able to work with custom htaccess file.
- Create new file with name .htaccess in public_html directory
- Write the following lines to the .htaccess file then save it.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?ref=$1

- Then open your site http://yourdomain.com/username , make sure you have changed the username with registered and active member's username

 

Note:
- This trick is to force web server to send information to index.php to set username of sponsor.
- Can not work with url such as http://yourdomain.com/username/register.php and others.
- If it fail to work, check your server configuration, make sure the server is working with custom htaccess file

Other tutorials in egRevShare:

 

Popular Tutorials:


Testimonial

Eddie Burnette from United States:
 Hi everyone Just wanted you to know that Script4Profit and EGN Hosting are the BEST services I have ever used!!!.....I have a program that is very high volume, and I find that the uptime for my websites and the customer service provided are EXTREMELY TOP NOTCH!!! After being dissapointed by other companies in the past, it was such a relief to find a GREAT service!!....I HIGHLY recommend your program...Thank you Script4Profit and EGN Hosting for all the Great work you do!!! 

Latest News

Accepted Payments

Copyright © 2007 - 2026 EGN Software, All rights reserved

Talk to us?