不同用户的 Web 构建器域映射

Web builder domain mapping for different users

我制作了一个基于 SAS 的 Web 生成器,它可以创建单独的 URL: (www.abc.com/user/somename) 为每个注册用户使用 codeignitor。 现在我如何为用户提供便利,以便他们可以映射自己的域名?

如果我对你的问题的理解没有错,那么这可能就是你所需要的

Setting your own routing rules
Routing rules are defined in your application/config/routes.php file. In it you'll see an array called $route that permits you to specify your own routing criteria. Routes can either be specified using wildcards or Regular Expressions

典型的通配符路由可能如下所示:

$route['user/(:any)'] = "your_controller/your_function/";

参考URI Routing。您可以从提供的 link 中学习如何制作动态 url 的