How to deal with search engine down right

Source: Internet
Author: User
Keywords Search engine 301 redirect

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

Many times, the upgrade of the site is also likely to cause the Site directory or page location changes, so that the site has been indexed by the search engine data does not exist. If the search contains a large number of Web pages disappear at the same time, will be in search of the site in the weight of the impact, here can be used 301 redirect function to modify the site, my QQ Resource Network http://www.huixing88.cn is this solution, I hope to everyone a bit with QQ resource Network

For some changes in the domain name, such as the www. Domain name, Com/bbs replacement for the BBS. Domain name. com, also can use 301 redirect function, it represents a permanent site transfer, 301 redirect is the Web page change the address does not damage the search engine friendliness of the best solution. QQ Resource Network

IIS Server 301 redirects by selecting the Redirect to URL feature in the Web site properties, and then setting the redirected URL address, and then checking the resource Permanent redirect check box. QQ Resource Network

If the server supports the. htaccess feature for Apache or virtual hosts, you can simply write the following code to the. htaccess file by setting the file for 301 redirects to the file or directory. QQ Resource Network

Redirect permanent/http://the address to which the contents of the directory are redirected/;

REDIRECT permanent/test.html http://test.html content redirected to the address/;

For a Dynamic Web page file, you can add the following code to the Web page file to set it up.

ASP Web page Files

<% language=vbscript%>

<% response.status= "Moved Permanently" Response.AddHeader "Location", "http://redirect address" >

PHP Web page file

? Header ("http/1.1 moved Permanently");

Header ("location:http://redirect Address"); >

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.