开发者

Changing the name of a domain internally

I have given my client a domain like www.xyz.com/test.

Now for some reason I want 开发者_开发百科to change it to www.xyz.com/testing but I want that client will continue to type www.xyz.com/test.

How can I do it?


You can setup a HTTP 301/302 redirect from /test to /testing.


Well, if you're on an Apache server you should be able to use an htaccess file to route the URL to the actual location on your server. There's a couple of ways of creating 301/302 redirects, such as a plain RewriteRule that routes all calls to "xyz.com/testing/..." to the actual location on the server, "xyz.com/test/...".

Good luck! =)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜