terrid Posted October 7, 2010 Share Posted October 7, 2010 Hi I have several URLs that have a rather long query string at the end, whichIi need to redirect into a more user friendly manor: http://www.example.com/search/?depId=1&typeCatId=1 needs to be redirected to http://www.example.com/clothing/mens http://www.example.com/search/?depId=1&typeCatId=1&typeSubCatId=1 needs to be redirected to http://www.example.com/clothing/polo-shirts But I have no idea how to do this. Could someone provide me with an example for the above so that i can get my site working properly? Thank you Link to comment https://forums.phpfreaks.com/topic/215357-mod_rewrite-query-strings/ Share on other sites More sharing options...
vicaassharma Posted October 11, 2010 Share Posted October 11, 2010 which OS you are using on your server where you hosted your site. Link to comment https://forums.phpfreaks.com/topic/215357-mod_rewrite-query-strings/#findComment-1121014 Share on other sites More sharing options...
cags Posted October 17, 2010 Share Posted October 17, 2010 Saying you want ?depId=1&typeCatId=1 to redirect to clothing/mens doesn't sound right to me, surely you want people to visit clothing/mens and to view the other page. Link to comment https://forums.phpfreaks.com/topic/215357-mod_rewrite-query-strings/#findComment-1122906 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.