301 jump (. net Edition)

Source: Internet
Author: User
Jump of Status Code 200: 1. metahttp-equivrefreshcontent3. URLdefault. aspx2.Server. transfer (default. aspx); 3. URLRewrite-strictly speaking, this is not a jump, but a jump in URL spoofing status 302: Response. redirect (default. aspx); Status 301 and

Jump of Status Code 200: 1. meta http-equiv = "refresh" content = "3; URL = default. aspx "/2. server. transfer ("default. aspx "); 3. URLRewrite-strictly speaking, this is not a jump, but a jump in URL spoofing status 302: Response. redirect ("default. aspx "); Status 301 and

Jump of Status Code 200:
1.
2. Server. Transfer ("default. aspx ");
3. URLRewrite-strictly speaking, this is not a jump, but a URL "spoofing"


Jump in status 302:
Response. Redirect ("default. aspx ");
Status 301 and redirect: Response. Status = "301 Moved Permanently ";
Response. AddHeader ("Location", "http://www.cnblogs.com/dingxue ");


At that time, the search engine was still silly. Many people used meta refresh to obtain powerful SEO results. Later, it was directly killed by the search engine. After that, many people started to use 302 as the stepping stone and were also killed. For example, they cheated the search engine and had serious consequences. So few people do SEO on the jump, but some inevitable jumps still need to exist. How can we prevent these jumps from negatively affecting them? So someone studied 301 redirection.
I forgot to blind some beginners. The three status codes are described as follows:
200 normal status, nothing happens, normal page browsing is generally 200
301 permanent transfer (Permanently Moved), SEO is required, will transfer the PR and other information of the old page to the new page
302 temporary transfer (Temporarily Moved), a common trick, is also the SEO most likely to be sentenced to fraud

Set in IIS 301
Internet Information Service Manager-> virtual directory-> redirect to URL, enter the target URL to be redirected, and select "permanent resource redirection ".

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.