我有链接:domain.com/activate/ 这很有效,在激活页面中我得到了表格。如果我运行它,我会得到: domain.com/activate/?code=heresomecodething
但这不起作用。我的原始网址是:domain.com/index.php?p=activate&code=heresomecodething 我希望我像这样工作:domain.com/activate/code=heresomecodething 我该怎么做?
我的 htaccess:
RewriteEngine On
RewriteRule ^(.*)/$ index.php?p=$1 [L]
我希望你能理解我。
谢谢!- 马林