My computer projects are divided into folders.
There is such a problem that in general, as a result, everything that is now divided into folders is likely to be at the root of the final place, so adding a prefix to the links in the code is not very convenient.
I wonder if it is possible to add the necessary prefix to the links in the body of the document using apache, adding it to .htaccess (it can be easily changed without changing the php code).