Talking about the 301 redirects of the virtual host of the Universal network

Source: Internet
Author: User

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

Everybody good, I am if lacks, the person is small four, has been in the network for many years! Use of the site space also countless, very early want to write about the virtual host 301 redirect problem! In fact, similar problems online predecessors have given a very detailed reference to the answer! Here I mainly to talk about my use of the million network when the 301 redirect some of the practices! I hope to help you!

Because the small four uses basically is the PHP program, therefore the following about 301 redirects the practice is for the PHP language space, welcome everybody to pat the brick.

The first thing I will bring to you is the practice of M3 301 Redirect: for PHP space

Copy the code in the text box above, write to the. htaccess file, and upload the. htaccess file to the root directory of the Web site. (Change the URL above to your own website)

Then the most important thing is about the Windows2008 mainframe, which is the 301 redirect of the Million-net host:

1. Prepare two documents first:. htaccess, Web.config

A. Documents. htaccess content

B. Document Web.config content

2. Copy the code in the above text box, write to their respective files, the Web site into their own website URL, save the next two files uploaded to the site root directory. OK, you are done, you can view the site directly.

OK, the above is I am groping million net host 301 redirect Time some small experience, personal feeling still very not enough! If you have better advice and experience, you can contact me! Or if you have similar questions, you can communicate with me! My qq:279324770

This article by the lack of, Beijing cancer treatment of the best Hospital (http://www.zhongliubing.com) network series published, Welcome to reprint, reprint, please keep this link, 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.