Url rewriting 用大量参数重写很长的URL

Url rewriting 用大量参数重写很长的URL,url-rewriting,Url Rewriting,我试图在htaccess中重写以下长URL,但一直重定向到错误页面 现有网址: https://www.exampledomain.com/stuff-for-sale?location_value=California%2C+USA&property_status=&adm_lvl_1_sn=CA&country_sn=US&location_type=administrative_area_level_1&stateSearch=CA&swla

我试图在htaccess中重写以下长URL,但一直重定向到错误页面

现有网址:

https://www.exampledomain.com/stuff-for-sale?location_value=California%2C+USA&property_status=&adm_lvl_1_sn=CA&country_sn=US&location_type=administrative_area_level_1&stateSearch=CA&swlat=32.528832&nelat=42.0095169&swlng=-124.48200300000002&nelng=-114.13121100000001&lat=36.778261&lng=-119.41793239999998&faddress=California%2C+USA&place_id=ChIJPV4oX_65j4ARVW8IJ6IJUYs
我想简单地改写如下:

https://www.exampledomain.com/california-stuff-for-sale
这可能吗?我知道,使用这种方法,我必须为每个状态重写50次,但系统需要所有参数来创建适当的搜索

这就是我到目前为止所尝试的,但没有成功:

RewriteRule ^/stuff-for-sale?q=&location_value=California%2C+USA&adm_lvl_1_sn=CA&country_sn=US&location_type=administrative_area_level_1&stateSearch=CA&swlat=32.528832&nelat=42.0095169&swlng=-124.48200300000002&nelng=-114.13121100000001&lat=36.778261&lng=-119.41793239999998&faddress=California%2C+USA&place_id=ChIJPV4oX_65j4ARVW8IJ6IJUYs /california-stuff-for-sale[L]