2
我有domain.net和store.domain.net。htaccess重定向域,除了一個子域
我需要下domain.net一切重定向到newdomain.com。但是,我希望store.domain.net保持不變,而不是轉發。
此外,所有路徑保持不變。即:domain.net/category/post123是與newdomain.com/category/post123相同的內容。
我想我可以用一個簡單的302重定向通過一個htaccess做到這一點,但有例外是給我的問題。