i use WordPress, and have this link:
http://test.example.com/listing/?category_type=Cake&city=Ahmedabad
i want this:
http://test.example.com/Cake/Ahmedabad/
I try add this on .htaccess but
RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /listing/?category_type=$1&city=$2 [L]
Can help me?
重写规则应为以下尝试,
RewriteRule ^listing/([^/]*)/? /listing/?category_type=$1&city=$2 [QSA,L]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.