f******w 发帖数: 1856 | 1 如果有两个域名, a.com和b.com, 能不能让 任何a.com的url,比如说a.com/ccc/d.htm
都自动redirect 到b.com/ccc/d.htm?
如果可以的话, 用户最后看到的url是b的还是a的, 能让用户看到的url还是a.com的么?
domain mirror是不是干的这活? | h***a 发帖数: 358 | 2 我有同样问题.
居我所知. 如果 b.com 里设定REDIRECT 去a.com/ccc/d.htm 然后b.com URL 显示
a.com/ccc/d.htm 肯定是可以.
借贴问大家一个问题. 我用 .NET 的网站, 我有 a.com/ccc/d.aspx
b.com, c.com etc
怎么样才可以让 b.com, c.com 显示的是 a.com/ccc/d.aspx 页面. 但是URL 还是
保持原来的 b.com, c.com
听说要写IIS FILTER? 请问怎么写, 有SAMPLE吗? 谢谢 | L*1 发帖数: 11537 | 3 Let them pointing to the same directory in your hosting plan (or configure
it in your own web server, e.g. apache):
a.com -> /disk1/space1/
b.com -> /disk1/space1/
In this way both a.com and b.com will have same content, but user will see
different URLs.
Any other forwarding method will let user see b.com only.
htm
么?
【在 f******w 的大作中提到】 : 如果有两个域名, a.com和b.com, 能不能让 任何a.com的url,比如说a.com/ccc/d.htm : 都自动redirect 到b.com/ccc/d.htm? : 如果可以的话, 用户最后看到的url是b的还是a的, 能让用户看到的url还是a.com的么? : domain mirror是不是干的这活?
| f******w 发帖数: 1856 | 4 thanks, will try it
Let them pointing to the same directory in your hosting plan (or configure
it in your own web server, e.g. apache):
a.com -> /disk1/space1/
b.com -> /disk1/space1/
In this way both a.com and b.com will have same content, but user will see
different URLs.
Any other forwarding method will let user see b.com only.
htm
么?
【在 L*1 的大作中提到】 : Let them pointing to the same directory in your hosting plan (or configure : it in your own web server, e.g. apache): : a.com -> /disk1/space1/ : b.com -> /disk1/space1/ : In this way both a.com and b.com will have same content, but user will see : different URLs. : Any other forwarding method will let user see b.com only. : : htm : 么?
| e******x 发帖数: 925 | 5 你可以用 .htaccess 做 URL转移
也可以用 parked domain
htm
么?
【在 f******w 的大作中提到】 : 如果有两个域名, a.com和b.com, 能不能让 任何a.com的url,比如说a.com/ccc/d.htm : 都自动redirect 到b.com/ccc/d.htm? : 如果可以的话, 用户最后看到的url是b的还是a的, 能让用户看到的url还是a.com的么? : domain mirror是不是干的这活?
| s******5 发帖数: 32 | 6 镜像要被GOOGLE砍的
.htaccess 做跳转吧
RewriteEngine on
rewritecond %{http_host} ^111.com [nc]
rewriterule ^(.*)$ http://222.com/$1 [r=301,nc]
或者你HOST后台有跳转设置的话,在那设置下就可以 | n*****n 发帖数: 30 | | g******y 发帖数: 21 | 8 httpd.conf
ServerName a.com
ServerAlias b.com
ServerRoot ../../../ |
|