The web site from the Sina SAE moved over, the former domain name can also be accessed, so there will be two duplicate sites, not conducive to seo/seo.html "target=" "_blank" > Search engine included, and the previous weight will not be, so do a good link 301 Redirect, Open the Config.yaml file on the SAE:
Handle
The code is as follows |
|
-Rewrite:if (in_header["host"] ~ "^101ban.sinaapp.com" && Path ~ "^ (. *) $") goto http://domain name/hongzhiban$1 [l,qsa,r=301] " |
This is a previous website moved to the site under the domain name of 301 redirect.
The modification of app.conf files on Bae seems to have no effect, directly in the subject, the site is based on WordPress development, so in the theme of the header.php add the following code:
code is as follows |
&nbs P; |
<?php if ($_server[' server_name ']!= ' www.111cn.net ') { &N Bsp;header (' http/1.1 moved Permanently '); header ("location:http://www.111cn.net/"); die (); } |