As in title. I want to run example.com/bar.php by using example.com/bar as adress, but it doesn't wrong. How to set it?
3 Answers
The simplest approach: Call it /bar/index.php
Other approaches include mod_rewrite and ForceType (assuming Apache).
The simplest approach: Call it /bar/index.php
Other approaches include mod_rewrite and ForceType (assuming Apache).