Click here to Skip to main content
15,889,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have links on my website like:

PHP
www.mysite.com/folder1/index.php?qid=32


But I want it to display it in my url like:

PHP
www.mysite.com/folder1/32/


Code placed in .htaccess file is not working. Kindly suggest what should be done for this. Is there any way of implementing this through php?
Also there are many other different links of this type with different parameters being passed in url. Do I have to rewrite all of them or there is any general code which could do the job for me.

Thanks in advance :)
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900