1
我想重定向这个请指导我
到
http://example.com/babycare/article/category/10
ID应该deynamicly改变即ID可以b 10,12,或23等
块引用上的.htaccess
到
http://example.com/babycare/article/category/10
ID应该deynamicly改变即ID可以b 10,12,或23等
块引用上的.htaccess
尝试使用:
RewriteRule ^babycare/article/category/([0-9]+)$ babycare/general_help/category.php?id=$1
尝试这一个,你需要改变它的一部分,根据你的类别
RewriteEngine On
RewriteRule ^category/(.+)/(.+)$ category.php?$1=$2 [NC,L]