experts, i am in a mood to create clean URLs for my site. In this regard i am trying to use .htaccess. But i am absolutely nill with it. I tried a hell lot of tutorials to learn it but it was of no use. I only know how to set the DirectoryIndex so far.
Well, i am using WAMP as my webserver in my machine and my files are not yet ready for upload. My files reside in C:\wamp\www\mys ite folder. I have an index page as index.php in my root directory. I access my index page as http://localhost/mysite/index.php. Now i have a page in the root directory as class.php requiring a dynamic parameter something like http://localhost/mysite/class.php?i=2323. Now how can i make it into something like this http://localhost/mysite/class.php/2323
Please give me a clear direction step by step.
Well, i am using WAMP as my webserver in my machine and my files are not yet ready for upload. My files reside in C:\wamp\www\mys ite folder. I have an index page as index.php in my root directory. I access my index page as http://localhost/mysite/index.php. Now i have a page in the root directory as class.php requiring a dynamic parameter something like http://localhost/mysite/class.php?i=2323. Now how can i make it into something like this http://localhost/mysite/class.php/2323
Please give me a clear direction step by step.
Comment