-1
我有一个用于管理广告的php脚本,但我想使用它友好的网址。如何将网址转换为htaccess中友好的网址
请给我htaccess的代码,所有这方面的例子:
mydomain.com/index.php?page/login
to
mydomain.com/login
mydomain.com/index.php?page=register&step=2
to
mydomain.com/register/step-2/
mydomain.com/index.php?page=articles&category=countries&article=afghanistan
to
mydomain.com/articles/countries/afghanistan
您是通过https://google.com搜索的吗? –
看看这个网站:http://www.generateit.net/mod-rewrite/index.php – SuperDJ