admin管理员组文章数量:1130349
I'm new to WordPress and I have a WordPress site where I've created a landing page that needs to be opened by another domain.
I would like accessing the second domain in the browser's address bar to have the name of the second domain.
That is:
dominoA/landing-page
domainB -> open domainA/landing-page
I need the browser's address bar to show domainB
How can I set this redirect? There is a reliable procedure, a plugin or other.
Thank you
I'm new to WordPress and I have a WordPress site where I've created a landing page that needs to be opened by another domain.
I would like accessing the second domain in the browser's address bar to have the name of the second domain.
That is:
dominoA/landing-page
domainB -> open domainA/landing-page
I need the browser's address bar to show domainB
How can I set this redirect? There is a reliable procedure, a plugin or other.
Thank you
Share Improve this question edited Nov 22, 2018 at 21:16 fuxia♦ 107k39 gold badges255 silver badges461 bronze badges asked Nov 22, 2018 at 16:49 JosoJoso 1112 bronze badges1 Answer
Reset to default 0I'm afraid that this doesn't have much in common with WP, but...
One of the way to solve this would be to put iframe on page B and set its source to site A. So in site B you do something like this:
<html>
....
<body>
<iframe src="http://dominoA/landing-page" style="position: fixed; top: 0px; left: 0px; bottom: 0px; right: 0px; width: 100%; height: 100%; border: none; margin: 0; padding: 0;">
Your browser doesn't support iframes
</iframe>
</body>
</html>
You could also use CNAME record, I guess...
I'm new to WordPress and I have a WordPress site where I've created a landing page that needs to be opened by another domain.
I would like accessing the second domain in the browser's address bar to have the name of the second domain.
That is:
dominoA/landing-page
domainB -> open domainA/landing-page
I need the browser's address bar to show domainB
How can I set this redirect? There is a reliable procedure, a plugin or other.
Thank you
I'm new to WordPress and I have a WordPress site where I've created a landing page that needs to be opened by another domain.
I would like accessing the second domain in the browser's address bar to have the name of the second domain.
That is:
dominoA/landing-page
domainB -> open domainA/landing-page
I need the browser's address bar to show domainB
How can I set this redirect? There is a reliable procedure, a plugin or other.
Thank you
Share Improve this question edited Nov 22, 2018 at 21:16 fuxia♦ 107k39 gold badges255 silver badges461 bronze badges asked Nov 22, 2018 at 16:49 JosoJoso 1112 bronze badges1 Answer
Reset to default 0I'm afraid that this doesn't have much in common with WP, but...
One of the way to solve this would be to put iframe on page B and set its source to site A. So in site B you do something like this:
<html>
....
<body>
<iframe src="http://dominoA/landing-page" style="position: fixed; top: 0px; left: 0px; bottom: 0px; right: 0px; width: 100%; height: 100%; border: none; margin: 0; padding: 0;">
Your browser doesn't support iframes
</iframe>
</body>
</html>
You could also use CNAME record, I guess...
本文标签: pluginsWordPress multi domainredirect
版权声明:本文标题:plugins - WordPress multi domain - redirect 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749158532a2325007.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论