Forum Moderators: phranque
I have notice a couple of times, in some websites when I run a search query, instead of the parameters being sent as variables (i.e. /search.php?q=MySearchQuery ) they are represented as sub directories (i.e. /search/my-search-query/ ).
Am I missing something? Are these sub-directories somehow controlled by PHP or htaccess? Are they 'virtual'? Just something that made me wonder.
I'm not sure if this is PHP related, so please re-direct as needed.
Check out our Apache forum library, and try a search on WebmasterWorld for "static dynamic URL rewriterule" and similar (links to both are at the top left of this page). There's also this thread, Changing Dynamic URLs to Static URLs [webmasterworld.com] , which covers the subject. Links to fundamental reference material are available in our Apache Forum Charter.
Jim