Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
PR value stealthily method, rest assured, very formal!
Perhaps you do not believe, then many SEO people are often used to recruit PR value transfer.
Prerequisite: You want a high PR value domain name, and with this domain name you do not intend to use, the old domain name PR value with 301 directional transfer to you to be increased PR value of the domain name.
If you do not believe you can go to Baidu, Google to find this information, I sorted out some 301 code, the letter can try.
301 Orientation Importance
Web site steering methods mainly include: 301 turn, 302 turn, JavaScript turn, php/asp/cgi turn, meta-refresh web meta refresh, etc. The 302 steering may have URL normalization issues. Other methods are commonly used cheating, of course, not to say that can not be properly used, the method itself is not wrong, but the cheater used more, the search engine for these suspicious turn are very sensitive. Why take the risk?
When page A is redirected to page B with 301 redirects, the search engine can be sure that page a permanently changes location, or that it doesn't actually exist, and that the search engine will use page B as the only effective target. The advantage is, first, there is no website normalization problem, second, also very important, page A's PR page level will be uploaded to page b.
What is 301 turn?
301 Turn (or call 301 Redirect, 301 jump) is one of the status codes in the header information (header) in the HTTP data stream returned by the server when the user or search engine sends a browse request to the Web server, indicating that this page is permanently transferred to another address.
Other common status code also includes, 200 means all normal, 404 Web pages can not find, 302 temporary turn, and so on.
301 Steering Code Collection?
1, IIS under 301 settings
Internet Information Services Manager-> virtual directory-> to a URL, enter the destination URL that needs to be redirected, and select Permanent redirect for resources.
2, ASP 301 Steering Code
<%@ Language=vbscript%>
<%
Response.status= "Moved Permanently"
Response.AddHeader "Location", "http://www.****.com/articles/301/"
%>
3. ASP. NET 301 Steering Code
<script runat= "Server" >
private void Page_Load (object sender, System.EventArgs e)
{Response.Status = "moved Permanently";
Response.AddHeader ("Location",
"http://www.****.com/articles/301/");
</script>
4, PHP under the 301 steering code
Header ("http/1.1 moved Permanently");
Header ("location:http://www.****.com/articles/301/");
Exit ();
5, CGI Perl 301 Steering Code
$q = new CGI;
Print $q->redirect ("http://www.hfxzl.com/");
6, JSP under the 301 steering code
<%
Response.setstatus (301);
Response.setheader ("Location", "http://www.****.com/");
Response.setheader ("Connection", "close");
%>
7, Apache 301 Turn Code
Create a new. htaccess file and enter the following (you need to turn on mod_rewrite):
1 Change the domain name without www to the domain name with www
Options +followsymlinks
Rewriteengine on
Rewritecond%{http_host} ^lesishu.cn [NC]
Rewriterule ^ (. *) $ http://www.****.com/$1 [l,r=301]
2 Redirect to new domain
Options +followsymlinks
Rewriteengine on
Rewriterule ^ (. *) $ http://www.****.com/$1 [l,r=301]
3) using regular 301 steering to achieve pseudo static
Options +followsymlinks
Rewriteengine on
Rewriterule ^news-(. +)/.html$ news.php?id=$1
Turn news.php?id=123 Such an address to news-123.html
8, Apache lower vhosts.conf configuration 301 Turn
In order to achieve URL normalization, SEO will usually change the domain name without www to the WWW domain name, vhosts.conf is configured as:
<virtualhost *:80>
ServerName www.****.com
Documentroot/home/hfxzl
</VirtualHost>
<virtualhost *:80>
ServerName lesishu.cn
Redirectmatch permanent ^/(. *) http://www.****.com/$1
</VirtualHost>
Apache In addition to the above 2 methods, there are other configuration methods and optional parameters, it is recommended to read the Apache document.