Before www.tea6.org This station's homepage is empty, did two links, one is www.tea6.org one is Www.tea6.org/blog, and did a JS jump, will homepage jumps the blog folder, This enables access to www.tea6.org to access www.tea6.org/blog behavior.
I set aside a blog for a lot of purposes, was originally intended to do vertical station, but space problems, friends space, lazy modified, reapply for a domain name to do related things, of course, this station is still in the brewing.
Yesterday, and Kavin exchange, said his blog homepage of the jump problem, he made a very good SEO domain name jump, not 301, nor other, but using a dynamic statement to achieve, very practical. Perfect implementation of the domain name jump, and the search engine is very friendly.
Here, published this method, the need for friends to take it.
The code is as follows (here's the Code for my homepage):
<HTML> <HEAD> <TITLE> Tea Music Net homepage </TITLE> <meta http-equiv= "Content-type" content= "HTML; Charset=utf-8 "/> <meta http-equiv= "Content-language" content= "zh"/> <meta name= "keywords" content= "tea, tea, tea, culture of teas, tea ceremony, teas and life"/> <meta name= "description" content= "Record tea and life, experience tea life, observe comments on mobile communications and the Internet."/> </HEAD>
<body bgcolor= #FFFFFF leftmargin= "0" topmargin= "0" marginwidth= "0" marginheight= "0" > <table width= "100%" height= "100%" border= "0" align= "center" cellpadding= "0" cellspacing= "0" > <tr><td> </td> <td> </td> <td><a href= "http:" > Tea Music net home </a> </td> <td><a href= "http://www.tea6.org/blog/" > Visit cha le net blog </a></td> <td> </td> </tr> </table>
<%if request.servervariables ("server_name") = "www.tea6.org" Then ' first input URL Response.Redirect "blog" forwards it to the appropriate folder Else%>
<%end if%>
<%if request.servervariables ("server_name") = "tea6.org" Then ' first input URL Response.Redirect "http://www.tea6.org" forwards it to the appropriate folder Else%>
<%end if%>
Next will do some of the search engine articles, welcome attention. Subscribe to this Blog
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.