开发者

redirect x.com to y.com

How do I redirect x.com to y.com, when someone types in x.com or anything x.com

开发者_Python百科Thanks Jean


In your apache hosts configuration:

<VirtualHost *:80>
    ServerName y.com *.y.com
    Redirect permanent / http://x.com/
</VirtualHost>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜