广告联盟网

 找回密码
 注册
查看: 957|回复: 12
打印 上一主题 下一主题

请教下有经验的站长, 怎么转移站点流量

[复制链接]
跳转到指定楼层
1#
发表于 2006-6-5 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
我想把自己站一个域名www.aaa.com换成www.bbb.com,以后主推www.bbb.com,现在需要转移流量,我想写这样一个js代码放在www.aaa.com的所有页面里面:
<script language=&quot;javascript&quot;>
var str = location.href;   //获取当前URL
str = str.replace(&quot;www.aaa.com&quot;,&quot;www.bbb.com&quot;);        //字符串替换成bbb.com
location.replace(str);               //网页重定向到新URL
</script>

请问大家有没有更好的流量转移办法,一起讨论下?
另外我在aaa.com和bbb.com都投放google广告,在流量转移过程中和以后较长时间双站同时运行中应该不算违规吧?
13#
发表于 2006-6-5 | 只看该作者
<script language=javascript>
if (document.domain =='www.aaa.com')  
    this.location = &quot;http://www.bbb.com&quot; + this.location.pathname + this.location.search;
</script>



放在HEAD中
12#
 楼主| 发表于 2006-6-5 | 只看该作者
谢谢大家  301重定向    可以结帖了
11#
发表于 2006-6-5 | 只看该作者
遇到一样的问题!
10#
发表于 2006-6-5 | 只看该作者
http://www.elixirsystems.com/seo_tips/CFM_301_redirect.php

里面有各种程序的301转向代码,可以看看
9#
发表于 2006-6-5 | 只看该作者
原帖由 getlist 于 2006-6-4 21:27 发表可以用301永久性重定向
这是正解。
根据Google的Webmaster Guide

My URL changed, so how can I get Google to index my new site?

While we can't manually change your URL in our search results, there are steps you can take to make sure your transition is smooth.

First, you can redirect individuals to your new site. If your old URLs redirect to your new site using HTTP 301 (permanent) redirects, our crawler will discover the new URLs. For more information about 301 HTTP redirects, please see http://www.ietf.org/rfc/rfc2616.txt

Google listings are based in part on our ability to find you from links on other sites. To preserve your rank, you'll want to tell others who link to you of your change of address. One way to find a sampling of sites that link to yours is to perform a link search. To learn how, please visit http://www.google.com/help/features.html#link. To obtain a comprehensive list of the links that point to your page, perform a Google search on your URL. On the results page, select the &quot;Find web pages that contain the term&quot; link, and Google will provide you with webpages that mention your address

[ 本帖最后由 davidyin 于 2006-6-4 21:54 编辑 ]
8#
 楼主| 发表于 2006-6-5 | 只看该作者
原帖由 小龙 于 2006-6-5 13:13 发表恩,这样的方式可以用来转移流量,不过重定向只是应急之用,不要拿它来做增加流量的方式,会被搜索引擎认为作弊的
是的  我担心的就是这个 我担心google认为我这样是作弊 有什么更好方式么?
7#
发表于 2006-6-5 | 只看该作者
原帖由 小龙 于 2006-6-5 13:13 发表恩,这样的方式可以用来转移流量,不过重定向只是应急之用,不要拿它来做增加流量的方式,会被搜索引擎认为作弊的。
我关掉了站,把域名转向到了我的BLOG,这样会被认为作弊吗?算起来有5、6个呢!
6#
发表于 2006-6-5 | 只看该作者
可以用301永久性重定向
5#
发表于 2006-6-5 | 只看该作者
恩,这样的方式可以用来转移流量,不过重定向只是应急之用,不要拿它来做增加流量的方式,会被搜索引擎认为作弊的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|广告联盟网  

GMT, 2024-9-24 , Processed in 0.071552 second(s), 20 queries .

Powered by Discuz! X3.2

© 2005-2021 www.ggads.com GGADS 广告联盟网

快速回复 返回顶部 返回列表