Forum Moderators: coopster
Since they'll all use the same template, I was hoping to make one php template from which the information is loaded through a query string...
So, I guess what I am looking for is some advice on how to make this:
_www.domain.com/script/123/
actually render out to browsing agents as:
_www.domain.com/script.php?id=123
-- I've had many bad experiences with query strings, so I'm looking to get rid of them in this site.
This is done through the .htaccess, is it not?
If so, any pointers or relative links that may help me?
Thanks all.
In .htaccess I have
<Files region>
ForceType application/x-httpd-php
</Files>
My link looks like region/1 or region/1/4
The php parses the url, splits out the components and produces dynamic pages.
I learnt how to do it from the phpbuilder site.
For apache2 I had to include
acceptpathinfo on
in .htaccess.