How to get Zblog to implement the 301 redirect method

Source: Internet
Author: User
Keywords Website optimization
Tags .url business change code domain domain name domain names get

Absrtact: A lot of friends may have heard of 301 redirect, this is SEO site optimization in a commonly used URL standard method, you can transfer the weight of other domain names to the designated domain name. But many friends may not be familiar with his specific usage, and the previous host business

Many friends may have heard of 301 redirect, this is SEO site optimization in a commonly used URL standard method, you can transfer the weight of other domain names to the designated domain name. But many friends may not be familiar with his specific usage, and the host or domain name provider can provide such a service, but now most service providers do not provide such services, only we find a way to solve, I will specifically explain how to let Zblog achieve 301 redirect method.

One. What situation needs to do 301 redirect

Above Simple said, 301 redirect function is to complete the site domain name jump, you can increase the weight of the target site, I believe some friends will ask, this does not count as cheating will be Baidu K off. Theoretically, this is a very safe way, it will not affect the weight of the site, and will not be the search engine as the best way to jump cheating. But nothing is absolutely enough, do not endlessly do jump now Baidu is very intelligent, do not take this method as a means of cheating. Now introduce, what is the real need to use the site to optimize the seo301 method of redirection.

1. Multiple snapshots

My current situation is to find two sites in Baidu snapshot, my site is now this situation, www.***.org and ***.org have snapshots. And I'm not going to take ***.org as the main domain but I can't stop parsing him. So, do not take the WWW domain name to do a jump.

2. Multiple domain names

If you have multiple domain names on your site. such as xxxx.com xxxx.net xxxx.org These open are the site, then it is necessary to set a main domain name, the other unimportant point to the main domain name, because the other domain name will be the weight of the main domain name away.

3. To change the domain name

Sometimes we will encounter the site domain name expires, or other reasons for the change of domain name, you can use it to the old domain name point to the new domain name.

4. Problems with Web sites

When a page content is deleted or there is an error accessing it. But note that 301 is permanent redirect, if it is a temporary jump, you must not forget to recover. It is also not recommended that temporary jumps use 301 redirects.

Two. Site Optimization redirect Time

If my blog uses the 301 redirect, will not have the WWW domain name weight to pass domain name www.***.org. But Google and Baidu for the jump understanding of different, Google will pass most of the weight, the time required 1-3 months or so. Baidu will pass all the weight, but Baidu may take a long time to complete this transfer process. Some may take several years, which has a certain relationship with the site. So, here's a reminder that 301 is permanent redirection and must be considered before use.

Three. Zblog implementation of the 301 Redirect method specific operation method:

1. Copy the following code, change the code "aaa.org" to your own URL.

If request. ServerVariables ("server_name") = "aaa.org" then response.status= "the moved" permanently "Response.AddHeader", "Http://www.AAA.org" Response.End End If

2. Go backstage-file management.

3. Enter the Default.asp code in the root directory of the Web site.

4. Add the code to the position in the Default.asp diagram.

5. Don't forget to save it.

When you're done, all we need to do is check to see if the site redirection was successful. You can directly visit your site without WWW domain name, to see if the success. Or, check the status of the site through this web site below. (http://www.sjchaxun.cn/) If the return value, the first paragraph is http/1.1 moved permanently that indicates that redirection succeeded.

Finally, some of the features and procedures of zblog are still to be developed and upgraded, so although 301 redirects can be achieved with the above methods. But the disadvantage is that it can only complete the first page of the jump instead of the whole station all pages, very regrettable. Please keep the attention of friends, there are new ways I will be the first time here with friends to share.

Warm tip: Transfer Please specify-the source of the article-BAI Network Promotion Blog-Thank you for your cooperation!

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.