I am building a modular
website and I want to set up a folder for people to put their own plugins with the structure being:
htdocs
└plugins
└notes
├ createnote.php
├ deletenote.php
├ editnote.php
└ viewnote.php
I would like to remove the plugins
from the URL.
So instead of the URL being https://example.com/plugins/notes/createnote.php
I would like it to read as https://example.com/notes/createnote.php
.
I tried using introduction to url rewriting to help me but I didn't completely understand it.
EDIT: I found a solution Here!