CodeIgniter Forums
CI4 ROUTING PROBLEMS: for dynamically created pages - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: CI4 ROUTING PROBLEMS: for dynamically created pages (/showthread.php?tid=78698)



CI4 ROUTING PROBLEMS: for dynamically created pages - Avega Soft - 02-27-2021

Hello everyone. There was a difficulty in writing the route rules for dynamically created pages on the site. Example, a user can create pages with the following URLs:
  • sitename.com/aaa
  • sitename.com/bbb
  • sitename.com/bbb/ccc
  • sitename.com/bbb/ccc/ddd
Where, aaa, bbb,ccc, ddd-slug pages and subpages

Also on the site, there are modules for which their own route rules have already been created. Now the question. How can I make dynamic route rules so that they are executed after all the other rules?