.htaccess 为我的php网站重写Url
我如何将其改写为我的htaccess文件 从.htaccess 为我的php网站重写Url,.htaccess,mod-rewrite,url-rewriting,.htaccess,Mod Rewrite,Url Rewriting,我如何将其改写为我的htaccess文件 从 http://example.com/prod/?item=B1594TBLW. 对此 http://example.com/B1594TBLW. 我的错误 RewriteRule ^([^/]*)?$ prod/?item=$1 [QSA,L] 看起来不错。你有什么错误?你检查过Apache错误日志了吗?我的错误:你能告诉我们你有什么错误吗?
http://example.com/prod/?item=B1594TBLW.
对此
http://example.com/B1594TBLW.
我的错误
RewriteRule ^([^/]*)?$ prod/?item=$1 [QSA,L]
看起来不错。你有什么错误?你检查过Apache错误日志了吗?我的错误:你能告诉我们你有什么错误吗?