我需要将子域上的特定网址重定向到完全不同的不同子网域上的网址。例如:我如何301使用.htaccess重定向特定的子域URL?
http://foo.example.com/this-is-my-page
需要301
到:
http://bar.example.com/this-is-really-my-page
我试图建立在.htaccess
简单Redirect 301
但它似乎并没有工作。例如:
Redirect 301 http://foo.example.com/this-is-my-page http://bar.example.com/this-is-really-my-page
可能需要在其他地方在Apache的配置。你在什么操作系统上? – 2012-03-23 19:10:36