我搜索了很多主题,但找不到解决方案/对此不够了解:
我希望人们访问并查看:
www.educateforlife.org.uk/myimpact/meet/123
但要加载:
www.educateforlife.org.uk/myimpact/meet/?u=123
我正在尝试这个:
RewriteRule ^myimpact/meet/([A-Z0-9\-_]+)/?$ /myimpact/meet/?u=$1 [L]
但我最终得到了404(甚至没有myimpact / meet is loading)
答案 0 :(得分:0)
试试这个:
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteRule ^myimpact/meet/([^/]+)/?$ /myimpact/meet?u=$1 [L]