Home  >  Article  >  Backend Development  >  这个RewriteRule要如何写,初学者急用,求帮助

这个RewriteRule要如何写,初学者急用,求帮助

WBOY
WBOYOriginal
2016-06-13 13:29:33737browse

这个RewriteRule要怎么写,菜鸟急用,求帮助
怎么把 /t.php?t=www.baidu.com 重写成 /www.baidu.com 求帮助 第一次提问,希望大家帮助啊

------解决方案--------------------
RewriteEngine On
RewriteBase /
RewriteRule ^t.php?t=(.*) $1 [L]

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn