php 301二级域名定义方法
www.023wo.com") :
06 header('HTTP/1.1 301 Moved Permanently');//发出301头部信息
07 header('Location: [url]http://www.023wo.com/wo'[/url]); //跳转到相应域名目录
08 break;
09 case ("023wo.com") :
10 header('HTTP/1.1 301 Moved Permanently');
11 header('Location: [url]http://www.023wo.com/wo'[/url]);
12 break;
13 case ("www.sionwes.com") :
14 header('HTTP/1.1 301 Moved Permanently');
15 header('Location: [url]http://www.sionwes.com/studio'[/url]);
16 break;
17 case ("sionwes.com") :
18 header('HTTP/1.1 301 Moved Permanently');
19 header('Location: [url]http://www.sionwes.com/studio'[/url]);
20 break;
21 case ("www.jiaochengji.com") :
22 header('HTTP/1.1 301 Moved Permanently');
23 header('Location: [url]http://www.lansiru.com/siru'[/url]);
24 break;
25 case ("lansiru.com") :
26 header('HTTP/1.1 301 Moved Permanently');
27 header('Location: [url]http://www.lansiru.com/siru'[/url]);
28 break;
29 }
30 ?>
您可能感兴趣的文章:
php 301重定向跳转解决方法
php 301重定向的实现方法
php实现301重定向的方法
PHP 301转向实现代码
301用法与错误详解
php 301二级域名定义方法
PHP 301跳转的方法详解
php 301 永久重定向之Apache与IIS
PHP网站301重定向方法举例
301与302重定向的区别有哪些