designguru
11-29-2006, 04:17 PM
I would like to take the following URL structure and turn it into the following....any help on this matter is greatly appreciated at this time. I have got the url close to what I am looking for, but I can't seem to get the %20 out
Original URL:
http://www.domain.com/ResultsGeneral.html?stype=0&kwds=boston%20red%20sox
Desired URL:
http://www.domain.com/boston-red-sox.html
I am not for sure if this is even possible or not...I can get it close but it just wants to always leave in the %20 part and I can't seem to get it exactly like I want it. This is the URL that I get.
http://www.domain.com/boston%20red%20sox.html
This is the mod rewrite code I am using.
RewriteEngine On
RewriteRule ^([^-]*)\.html$ /ResultsGeneral.html?stype=0&kwds=$1 [L]
Thank you to anyone that can help me!
Original URL:
http://www.domain.com/ResultsGeneral.html?stype=0&kwds=boston%20red%20sox
Desired URL:
http://www.domain.com/boston-red-sox.html
I am not for sure if this is even possible or not...I can get it close but it just wants to always leave in the %20 part and I can't seem to get it exactly like I want it. This is the URL that I get.
http://www.domain.com/boston%20red%20sox.html
This is the mod rewrite code I am using.
RewriteEngine On
RewriteRule ^([^-]*)\.html$ /ResultsGeneral.html?stype=0&kwds=$1 [L]
Thank you to anyone that can help me!