For a simple website (not Vue, React, non-framework), can you set up a routing system for url's or is it better to store url's within a simple list or array?
Currently I use htaccess file to rewrite urls to remove trailing slashes and file extensions. Is there a better way other than htaccess? FYI, I'm working in php mostly out because of familiarity and includes, but not a MVC setup. A very simple website that's not pulling from a database. Any recommendations are welcome.