emlog301重定向怎么做 如何实现不带www跳转到带www
Linux 主机 Apache服务器 Mod-Rewrite 模式:修改.htaccess文件
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /
RewriteRule . /index.php [L]
RewriteCond %{HTTP_HOST} ^123.cn$ [NC]
</IfModule>