June 25th, 2006, 02:15 AM
How to change URL Parameters through .htaccess?
In my website I am passing this type of parameters index.php?K=A But Now I want instead of this.. It should be come like this way index.php/K/A
So what I have to do for this? what thing i have to write in .htaccess file? any idea?
I will be thankful for them...
June 25th, 2006, 02:43 AM
Take a look at ModRewrite.
It does exactly what you are after and this tutorial by jharnois is excellent.
June 25th, 2006, 04:01 AM
Moved from PHP Development to Apache Development.
June 25th, 2006, 06:06 AM
June 25th, 2006, 04:16 PM
Originally Posted by SimonGreenhill
I already suggested that.....See my post above?!?!
June 25th, 2006, 05:42 PM
just trying to get my post count up
Comments on this post
June 25th, 2006, 08:30 PM
I was going to warn him, but that's my post you're linking to ...
Originally Posted by bluedragon
Explain your problem instead of asking how to do what you decided was the solution.
February 25th, 2013, 07:23 AM
Simply copy past blow line in your .htaccess file
RewriteRule ^K/(.+) index.php?k=$1
this will become
Originally Posted by amarvora