开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜