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
Copy Code
-Rewrite:if (in_header["host"] ~
So all use Linux host, I will define a 301 redirect to facilitate SEO. Yesterday, as usual htaccess uploaded to the server, did not expect to post the site can not be accessed, a delete will return to normal. Read a lot of code, also did not find any problems. Simply re-learn the URL rewrite method.Normalize URLsDescribe:On some Web servers, a resource can have more than one URL. Standard URLs should be use
engine bounce rateBounce Rate: Users come to your site and only browse a page to leave the percentage.Thinking: What are the impact on site rankings? The principle of fast-line technology.3 , where is the site navigation? What role does it have? Example:http://www.wycszx.com/ Hefei registered company Hefei Company Registration Hefei Company in Hefei Agent Company Registration Promotion keyword Density blend usehttp://www.tuniu.com/ Weight 7 The category page promotes weights.Thinking: How to
Demand:If you do not have this URL locally rewrite to another server to request;Realize:server {listen 8080;if (!-e $request _filename) {rewrite ^/(. *) $http://192.168.2.42/$ permanent;}}DescriptionWhen there is no such resource on the local web, jump to the 192.168.2.42 server to request;This article is from the "Shine_forever blog" blog, make sure to keep this source http://shineforever.blog.51cto.com/1429204/1619796Use Nginx 301
The use of 301 redirect can be without the WWW domain name to the WWW domain name, so that the weight can be all pointed to the domain name with www, the site optimization is very helpful.
http://www. " server_name Else Response.AddHeader "Location", "http://www." server_namepath_infostrquery_stringstr End If Response.End End If%>
Friends who use ASP.net and follow the new technology may already know that the Response.redirectpermanent () method has been added in ASP.net 4.0 to achieve permanent redirection, and the effect of the method is clearly explained in the annotation: execution from the requested URL to the specified A permanent redirection of URLs and provides options for completing the response.
In the ASP.net MVC 3 project, we can use the following notation to implement permanent redirection as needed:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.