我需要將子域上的特定網址重定向到完全不同的不同子網域上的網址。例如:我如何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