Wordpress Multisite - Domain Mapping

I recently installed a Wordpress Multisite and have set everything up. The one aspect that seems to have severally lacki

I recently installed a Wordpress Multisite and have set everything up. The one aspect that seems to have severally lacking information is how to map custom domains to each sub-site (i.e. jcs.examplesite to joescrabshack). I did see there is a plugin that 1000s of people used to do this, but it hasn't been supported now with further development in 3+ years and seems to unreliable moving forward. If anybody could share resources or tutorials on how to map sub-sites to custom domain names, I would greatly appreciate. Do I need to have a separate IP address for each to redirect via DNS?

Thank you

I recently installed a Wordpress Multisite and have set everything up. The one aspect that seems to have severally lacking information is how to map custom domains to each sub-site (i.e. jcs.examplesite to joescrabshack). I did see there is a plugin that 1000s of people used to do this, but it hasn't been supported now with further development in 3+ years and seems to unreliable moving forward. If anybody could share resources or tutorials on how to map sub-sites to custom domain names, I would greatly appreciate. Do I need to have a separate IP address for each to redirect via DNS?

Thank you

Share Improve this question asked Jul 12, 2019 at 16:40 TheDrupeTheDrupe 32 bronze badges 2
  • I haven't tried this for a while now, but the docs say "In WordPress 4.5+, domain mapping is a native feature." Are you sure it's not on the dashboard somewhere? No, separate IP addresses wouldn't help. – Rup Commented Jul 12, 2019 at 16:49
  • Rup, that is certainly correct. Not sure how I missed that, but it is indeed on a tabbed section within the admin panel. Thank you for that link! – TheDrupe Commented Jul 12, 2019 at 17:21
Add a comment  | 

1 Answer 1

Reset to default 0

As you might already know, this is done via the Edit button for the site. That contains all of the wp-options table rows for that sub-site. I always go through that entire list (it is long) and change all occurances of www.example/site1 to www.mydomain (the domain name for that subsite).

Many plugins/themes store info in the wp-options table, so you have to check each entry in that subsite edit screen. Then bring up a few pages with the new domain name, and use the F12/Inspector and look at the network tab to ensure that all the requests are to the new domain name.

Note that you may also need to fix any old urls for media entries. I'd use a search/replace plugin (I use the "Better Search and Replace" one) to easily change all www.example/site1 to www.newdomain . Backup your database first, of course.

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

相关推荐

  • Wordpress Multisite - Domain Mapping

    I recently installed a Wordpress Multisite and have set everything up. The one aspect that seems to have severally lacki

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

关注微信