return to homepage
13080553467
QQ customer service

wechat customer service

wechat official account

  • customer serviceQQ:1193846053    wechat: suyoufuwu    contact number: 13080553467     

how to do 301 redirection in website construction

suyou network (10 years of experience), serves tens of thousands of companies, and has fixed transparent quotations. domain name registration, hosting /one-stop service for server and website source code. a physical company, a professional team, worth choosing! website building business: corporate website construction, company official website production, foreign trade website construction, website imitation, website copying, imitation site, foreign trade website construction, single-page customer service wechat【 suyoufuwu】


there are many projects for website construction. if you don’t do any aspect well, it may have an adverse impact on future website promotion. therefore, when the webmaster first builds the website, they will want to be comprehensive. the most easy to ignore in website building, but the most important thing is the 301 redirection problem. for veteran webmasters, 301 redirection is just a piece of cake, but for novice webmasters, it is still very difficult. so, how to redirect 301? let’s take a look together.

301redirection is usually not www orientation to belt www this can increase the weight of the website and help the website ranking. the old domain name redirects to new domain names is no longer popular now, especially after baidu cancels the snapshot, there are fewer and fewer needs in this regard. so, how to operate the redirection of the former?

the first step is IIS create a new website folder in it. IIS right now Internet information service manager, here rebuilding a website is based on the existing website, rather than with the help of the original one. after creating the folder, create a file named " index.html”, open afterward IIS right-click the website to create a new one, click next, fill in the website description, and then next step.

step 2: fill in the website IP, the host header, that is, the domain name, remember not to add it www。 after the next step, select the folder you created earlier in the path and click next. select permissions read-only to ensure the security of its operations, and then next step to complete.

step 3, right-click the new website, select properties, add, and then add index.html after confirming the file, click the home directory and select redirect to url, fill in the redirect domain name, select the permanent redirection of the resource, and click ok.

this website's 301 redirection is easy to complete, isn't it very simple? indeed, for veteran webmasters, 301 redirection is not difficult. the reason why many novice webmasters are not familiar with it is because in most cases, we rarely use it, and only use it when building a website. this also causes many webmasters to ignore this small detail, which leaves hidden dangers on their websites.

however, you will know how to do it after doing it a few times. therefore, webmasters do not need to worry about 301 redirection. however, many novice webmasters are also puzzled about why they need to do 301 redirects. here, professionals can give a simple answer.

as mentioned before, the website weight will be higher after redirection. in addition, it is also truebaidu spidera compromise. we all know that the domain name was not in the beginning. www yes, it will only happen later www, and there is www the domain name is actually a secondary domain name, without www the top-level domain name is. but because of people's use habits, they will bring www as a first-level domain name, that is, the main domain name.

but in fact, the weight of the latter is not as high as the former, so through 301 redirection, the domain name weight can be divided into www so that the website ranking is better and more included. this is why webmasters have to set up website redirection at the beginning.

the above is the "how to do 301 redirection in website construction" shared by suyou network and everyone. thank you very much for reading this article patiently. we will provide you with more information on reference, use or learning and communication. we can also provide you with:enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionfor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation". if you need cooperation, please scan the code to consult, and we will serve you sincerely.

TAG label:website construction

national branch station

national branch station