How to do Domain Mapping/Masking
November 25, 2020 07:01AM
We have a wordpress mulsite site with multiple subsite. Below is the sample of a subsite url

Subsite 1: example.com/tw/en

We want to mask that domain and to show user example.com.tw/en or example.tw/en but at the same time then should still be able to access example.com/tw/en.

All these 3 domains: example.com/tw/en, example.com.tw/en, example.tw/en will show the same website.

How can we do it on nginx?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready