Home > Net >  How to make the site without the WWW, automatically jump to take the WWW. The web site
How to make the site without the WWW, automatically jump to take the WWW. The web site

Time:09-22

Input web site, http://american-chinese.com, for example, automatically jump to http://www.american-chinese.com. when entering http://american-chinese.com/MyInfomghrwir/A3A9827F5DCCF40B also let it automatically jump to http://www.american-chinese.com/MyInfomghrwir/A3A9827F5DCCF40B,

How to implement this feature?

CodePudding user response:

The browser will up to you of the WWW

CodePudding user response:

reference 1st floor EdsionWang response:
will be up to you WWW browser

The browser won't give up, trouble to help warrior

CodePudding user response:

Site to a 302 redirect,

You can search asp.net url redirection

CodePudding user response:

Judge did/behind/WWW, there have been replaced with//WWW.

CodePudding user response:

It is under the domain name resolution

CodePudding user response:

This is a domain name resolution, is not you write a program can be done,
You knock on baidu.com in the address bar, enter is not baidu,

Still honestly input,

CodePudding user response:

DNS above for a generic parsing or cname is ok,

CodePudding user response:

IIS configuration inside the redirection

CodePudding user response:

refer to the eighth floor yuhong66 response:
IIS configuration inside it is ok to redirect



Specific how to operate?

CodePudding user response:

Var newurl=document. The URL;
Processing newurl
Window. The location=newurl;
</script>
  • Related