Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
I think webmaster friends are familiar with the 301, almost every station friends, usually do a simple 301 permanent redirect, will not take the "www" 301 Redirect to the "www" Home domain name. 301 Jump brings benefits also needless to say, is the search engine acknowledges the friendly jump way. Chat today is 301 if the jump wrong, the same trouble is not small, first look at the following figure.
In this case, due to the 301 redirection of the set error, resulting in the creation of an error with the parameter "/?id=1234" New page, and dynamic pages, such as the home page and the real homepage is the same. This means that the homepage is updated daily and the new page is updated accordingly. Think again, if this "Web" directory has n pages 301 redirect to the first page, it means to create n new pages, in other words, n a homepage, the consequences of this is self-evident.
This is a problem that needs to be solved, so it is difficult to solve this problem again. Find a lot of information on the Internet, ask many people did not find the answer. The difficulty is "/?" Here, it is painstaking. Finally give up 301, with JS jump this way to lose weight of the way to eliminate the wrong page, but in the end the whole came out. Let's see, the server supports the. htaccess file.
Options +followsymlinks
Rewriteengine on
#RewriteCond%{http_host} ^domain. com [NC]
# rewriterule ^ (. *) $ http://www. Domain。 com/$1 [l,r=301]
#RewriteLogLevel 3
#RewriteLog "Logs/rewrite.log"
#RewriteBase/
Rewritecond%{query_string} id=
#RewriteRule (. *) http://www. Domain。 Com/$1? [r=301]
Rewriterule ^$ http://www. Domain。 com? [l,r=301]
This is a special case that I've solved, and the code is saved. 301 Permanent redirect is easy to use, but with the wrong will bring a lot of trouble, very affected your site. Finally, remind to do 301 webmaster friends, check your settings, especially for multiple directories set 301 permanent redirect. This article by the investment venture http://www.9355.com/stationmaster original income, welcome to retain the link reprint, the Exchange Q281336241, thanks!