Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Hechi SEO today and everyone sincerely share the Z-BOLG program to do the site how 301 redirect really effective way.
Know SEO friends know, in order to focus on the weight of the site, to fat binding in the site space domain name focused on the www.778seo.com or 778seo.com, then you must do the domain name 301 Redirect to the other domain name to focus on the domain name.
There are a lot of ways to redirect 301, site search out and the result is also a mess, what the law has, is not refined to some kind of construction station procedures, so many like me to build a station rookie look dizzy, today Hechi SEO and everyone to share the Z-BOLG program do the website how to do 301 redirect. Because Z-bolg is based on ASP code program, our virtual space services do not support the server Set 301 Redirect, then we can only start from the site code. Too much nonsense, now go to the topic, the specific methods of operation are as follows:
1. Locate the Default.asp file in the root directory of the website, download it to the local DW editor or use FTP to upload the software editing function to open this file to add 301 redirect code. (ps~~ do not use Notepad to edit as much as possible, sometimes because of coding problems.) )
The code is as follows:
Dim Thishttpurl
Thishttpurl=request.servervariables ("Http_host")
If Thishttpurl= "778seo.com" Then
Response.status= "Moved Permanently"
Response.AddHeader "Location", "http://www.778seo.com/"
End If
Remember to change domain name to your own domain name OH.
A lot of online is only given a generation, also do not say add to that, let people do not know how to use, Hechi seo this do 301 redirect in Baidu, Google turned 3 days, after countless trials hunt to try out, so we read the article must give a comment, thank you! I also tried to Dedecms 301 Redirect method, test domain name: 0778seo.com if necessary please comment.