Reorganize Web Build

I have developed a Web GL game in MV that I would like to upload online. However, the site I am using requires the files to be set up with everything in one folder and the index.html outside of that folder. Is there anyway for me to set up my files this way? Thanks in advance
You'll start by opening the index.html in a text editor and adjusting all of the paths (Javascript, css, and icons) to the new path that you want.

Then you open up the core "rpg_*.js" files and look for all the places it loads images then adjust the path to the new path that you want.

Then look for the PluginManager object in the rpg_managers.js file and update the path to the new path you want.

That's just for the default engine, if you use any plugins that load resources you may have to change the path there too.
Yeah, the thing here is that if you change the folder structure then all things that uses filepaths needs to be adjusted manually.

Original thread: https://forums.rpgmakerweb.com/threads/reorganize-web-build.108647/