Say my site referral link is: domain.com/index.php?10 Are the following variations also functional? 1. domain.com/?10 2. domain.com?10 Thanks in advance.
1 should work yes, not sure about 2. But if they don't work how you'd like them too, then it can be achieved using mod_rewrite.
All three examples put "10" into $_SERVER['QUERY_STRING'] If the referral information is obtained from the query string, all examples should work. If some other method, the variations might not work. Will
As Will suggested, you can experiment. Add the following to index.php: <?php echo $_SERVER['QUERY_STRING']; ?> PHP: It will proove if they work.