You are not using mod_rewrite


How To Test mod_rewrite in Apache Linux Server

by Webune

LINK1 = rewrite.php?link=1

LINK2 = link2.html

How this works: both links are for this same page, except they both are different. link one is without the mod_rewrite and link2 is using mod_rewrite. Link1 show the php file, with with mod_rewrite we are mascarading the php file into a html file. you can use whatever type of extension you want, you can change it to .htm or .shtml etc... all you have to do is to make sure you also chang it in the .htaccess file

<< Go back to webune forums.