php中 伪静态的学习 htaccess学习
关于htaccess 学习 大家肯定都不陌生,这个可以很好的 提高百度的收录,使你的网站能够实现伪静态化,使后缀名为.html
代码如何
RewriteEngine on #rewriteengine
rewriterule ^index.html$ https://www.p2pwr.com/$1 [R=301,L]
RewriteRule ^index.html$ wrmain.php
RewriteRule "^test1/([0-9]+)/([0-9]+)\.html$" test1.php?id=$1&abc=$2
这是几个简单的实例 希望能够对初学者提供帮助