Monday 01 December 2003 6:33:53 pm
Also, with mod_rewrite what you can do is that any request to a .html page be served by a php script. That way, you can request index.html, for example, and instruct the server to serve index.php. The result is that the page name at the URL will end in .html, but it will be build by the same php script anyway. So it wont convert dynamic page to static ones, but URLs will look like if they were static html files. There are different opinions about search engines indexing better html urls than php ones, and maybe this can be one of the only reasons to use mod_rewrite for this purpose (if it were true). Also keep in mind that extra rewriting rules means extra for Apache.
|