I am giving out URLs to people on a website, that actually point to something ugly (on the same website).
http://www.mydomain.com/cool-URL
actually points to
http://www.mydomain.com/boring.php?id=478547&sessid=34734asdf7&otherboringdetails
I'm planning to achieve this by modifying the .htaccess file whenever needed. I'm going to make the PHP script write to the .htaccess file, adding a new rewrite rule whenever there is a new hand-out of a url (from an admin area a non-programmer can control [specify the URL title for this new entry, admin : it will be assigned automagically]).
Is this going to be a problem, especially after 1000 or so such URLs? What is the actual number that is acceptable? Because, I can picture this: the server receives a request for a URL, then it searches the .htaccess file for the right page for this url, and finally sends the user to the right page. If this is anything like Database searching, it might take a long time for the user to actually get to the right page...
Any pointers on this, please?
See Question&Answers more detail:os