multisite - multiple domains point to same site on WP-MU

I have setup Wordpress Multisite on a bitnami image (on AWS).I have numerous domains working fine, each with their own

I have setup Wordpress Multisite on a bitnami image (on AWS). I have numerous domains working fine, each with their own WP site. (eg: a, b, c)

I also have some alias domains (a1, a2, a3) that I would like to be handled by the existing a wordpress site.

I have setup dns to point a1 to the same host as a. But this always takes me to the default WP site with the message about creating a new site. Not what I want.

I don't want to edit the VirtualHost settings in apache if possible. Is there a way for WordPress to accept all 4 domain names as the same site (a) ?

I have it working by creating a separate site for a1, another for a2 etc, and using a redirect plugin to use a 503 to send the user to a. However, this seems too complicated. Surely there is a better way to do this?

I have setup Wordpress Multisite on a bitnami image (on AWS). I have numerous domains working fine, each with their own WP site. (eg: a, b, c)

I also have some alias domains (a1, a2, a3) that I would like to be handled by the existing a wordpress site.

I have setup dns to point a1 to the same host as a. But this always takes me to the default WP site with the message about creating a new site. Not what I want.

I don't want to edit the VirtualHost settings in apache if possible. Is there a way for WordPress to accept all 4 domain names as the same site (a) ?

I have it working by creating a separate site for a1, another for a2 etc, and using a redirect plugin to use a 503 to send the user to a. However, this seems too complicated. Surely there is a better way to do this?

Share Improve this question asked Feb 28, 2020 at 21:29 TSGTSG 1054 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

If they're just to get visitors there and you don't care about making the site "look like" the alias domains, you can just 301 redirect the site using .htaccess or similar. If instead you want to make it "look like" visitors are on the alias domains then you may need to work with your host to figure out how to mask the URLs. Keep in mind this may have negative consequences for SEO so unless you absolutely must mask things, it's probably better to redirect instead.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744706335a4589077.html

相关推荐

  • multisite - multiple domains point to same site on WP-MU

    I have setup Wordpress Multisite on a bitnami image (on AWS).I have numerous domains working fine, each with their own

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信