Linux Nginx 301 Redirect Jump method Summary, there is a need for friends to refer to.
The first case: access to the AAAAAAA station directed to the BBBBBBBBBBB station
Copy Code code as follows:
server {
Server_naaaaaaame
Permanent page removal (301 redirects ) is a very important "auto-steering" technology. One of the most feasible ways to redirect URLs. When a user or a search engine makes a browse request to the Web server, one of the status codes in the header
IIS URL Rewrite enables WEB administrators to create powerful rules to implement URLs that is easier for users to Remembe R and easier for search engines to find.For more information you can read the below
In the previous analysis of my company's website keyword ranking disappeared mentioned (now from the company resigned), the company's website keyword ranking disappeared the most likely reason is 302 redirect, now can be determined, is because of 302
Friends who use ASP.net and follow the new technology may already know that the Response.redirectpermanent () method has been added in ASP.net 4.0 to achieve permanent redirection, and the effect of the method is clearly explained in the annotation:
One, what is 301 redirect301 Redirect (or call 301 jump, 301 turn) is a user or search engine spider to the site server to make access requests, the service returns the HTTP data stream header part of the status code of one, indicating that this
The website replaces the domain name, uses the old domain name 301 to refer to the new domain name.
Setting the URL permanently from IIS can be, it looks easy, and it takes a while to discover that the parameters are not on.
From the Microsoft
Concept
301 Moved Permanently The requested resource has been permanently moved to a new location, and any future references to this resource should use one of several URIs returned by this response. If possible, clients that have link
In the daily website construction and optimization, often encounter the site adjustment and change the address, and changes to the directory caused by the URL transformation, and so on, in order to keep the original page has the weight, we need to
This is a creation in
Article, where the information may have evolved or changed.
The HTTP specification defines a return code to 3xx represent the client that needs to do some extra work to complete the request, mostly 3xx for forwarding (redirect).
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.