开发者

.htacess redirect from one url on one domain to a different url on a DIFFERENT domain

开发者 https://www.devze.com 2023-03-25 00:39 出处:网络
How do I redirect from domainA.com/page to domainB.com/pageX These are two differe开发者_开发问答nt domains, two different pages or urls.

How do I redirect from domainA.com/page to domainB.com/pageX These are two differe开发者_开发问答nt domains, two different pages or urls.

Note that Redirect 301 /page domainB.com/pageX works but then every other page on domainA.com breaks with a 404 error.


From .htaccess files:

Options FollowSymLinks
RewriteEngine On
RewriteRule /page http://domainB.com/pageX
0

精彩评论

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