On the 301 permanent redirection of the domain name

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Hello everyone, I am 100,000 why the webmaster online. Today to say is the first time this site to replace the domain name, with 301 permanent redirection of the operation and screening process. Originally this site's domain name is www.zhidao1.cn, did nearly 1 years of time, PR also rose to 4, I do the content is 100,000 why, the goal is to do a network of online 100,000 why, so think of a very simple advertising language, "100,000 why, every day know 1, life clearer" Web browsing can also, the highest 6,000 IP, but found that search "100,000 why" when the ranking old bad, so think of changing domain name, So registered the current domain name www.whyonline.cn, meaning 100,000 why online, a lot of friends advised me not to change domain name, I finally decided to change, even if you do an experiment. If failed, I also good to tell you webmaster failed experience, at least to everyone is a reference.

  

Website highest IP

After a good domain name resolution, start using dual domain name, on the one hand, the new domain name can be indexed by the search engine, on the one hand to increase the weight of its domain name, but later in the study of SEO, said the site if the binding double domain name will affect the weight of the search engine, such as my site for the search engine

www.zhidao1.cn www.zhidao1.cn/index.html

zhidao1.cn zhidao1.cn/index.html

www.whyonline.cn www.whyonline.cn/index.html

whyonline.cn whyonline.cn/index.html

On top of the problem, I took the first approach to the URL redirection through the domain name, so that zhidao1.cn 301 Redirect to www.zhidao1.cn, so that whyonline.cn 301 Redirect to Wwww.whyonline.cn, Select forwarding is not hidden can, this method I do not say, we will, to a screenshot will be good. Because I am applying for the domain name is a new network, the new Web URL to the use of the 301 redirect method, there are other domain name resolver is to take the 302 redirect method, concrete, we can through the http://tool.alimama.com/tools.php " Site header information query "such as my Site query whyonline.cn is 301 of the method redirect to www.whyonline.cn."

  

Domain name resolution URL 301 Redirect method

  

Query the new network domain name URL Redirect to 301 Redirect, through the above processing, the site is left only www.zhidao1.cn and www.whyonline.cn, the following I take IIS 301 Redirect method, is also the focus of this article. The specific method is as follows.

The first step, a new site, binding old domain name as shown:

  

In the second step, select the site you just established in IIS, right-click, the Properties--> home directory--> Select Redirect to--> enter the new domain name to turn to, and note that the following "exact URL entered above" and "permanent redirect of resources" are selected and then applied. This 301 permanent redirect is done. Figure:

  

You are not found me in the domain name after the addition of $s$q characters, here is the key to this article, many 301 redirect, can not directly refer to the site's specific address, through the search engines are specific sites, if the General 301 Redirect, There will be many pages to jump directly to the new domain name of the corresponding home page, this will lose a lot of visitors, the customer and search engines are extremely unfriendly, so we add $s$q characters after the domain name, URL will jump directly to the site inside the page, the following to do a specific explanation of the characters.

$S to pass the suffix of the requested URL to the new URL. The suffix is the part of the initial URL that is reserved after the redirected URL is substituted.

$Q the parameters in the initial URL, such as the QueryString parameter, are passed to the new URL, including the question mark (?).

Well, test it, through the www.google.cn search Shurufa, my ranking in google First, the URL will automatically jump to the new domain name URL, all completed.

If there are any wrong places, please point out. I qq:117821191 if there is a chance for us to progress together and explore together.

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.