Hiya,
Normally, when installing my Tera-WURFL code on a client's website, I'll create an index.php page that contains the Tera-WURFL detection/redirection code, and then I just edit their .htaccess file to make index.php the default page to be served.
However, what is the best practice if client already has an index.php page? Should I rename their index.php page to something else and name my Tera-WURFL detection/redirection page index.php (and leave .htaccess untouched)? Or should I name my Tera-WURFL detection/redirection page (e.g.) handleRequest.php so I don't need to rename their existing index.php (then update .htaccess to make handleRequest.php the default)?
I'm guessing it's better practice to use the latter solution (as there would be less chance of them accidentally overwriting my Tera-WURFL detection/redirection page)?
Cheers,
James