Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to do virtual host 301 orientation

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How to do virtual host 301 orientation? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.

Some novice users do not know how to redirect the virtual host web page 301. Here we show how to do 301 redirection on a server with IIS.

1. Publish the website normally in IIS, for example, the domain name is www.123.com. Create an empty folder on the hard drive.

two。 Build a website in IIS, such as 123.com, and point to the newly created empty folder.

3. Set the properties of the new site, select the Home Directory tab, and select Redirect to URL. Redirect to: www.123.com$S$Q (add "$sqq" after the URL to support the belt "?" The URL can be redirected normally. If you do not add "$sqq", take "?" An exception occurs when the URL of the )

4. Check "exact URL entered above" and "permanent redirection of resources". Then write the corresponding code according to the host environment.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report