我想路线:
site.com/add-your-business 至 site.com/addyourbusiness
你能用 -
做到这一点这不起作用:
$route['add-your-business'] = "addyourbusiness";
$route['default_controller'] = "home";
$route['404_override'] = '';
我设置了控制器addyourbusiness,但是出现此页错误:
Not Found
The requested URL /add-your-business was not found on this server.
感谢您的帮助。