PHP文件路径搞乱html链接

I have an issue migrating a site where the links are all broken. It's a html site but uses php file system. The links in the index.html has \ in front of it. There's a file of php files like: Configuration.php, FileSystem.php, Bootstrap.php, Handler.php. How do I revert to just regular hmtl links.

Thanks!

If all you want to do is convert the dynamic PHP based website to a static HTML is easy.

Open the website in Firefox (Chrome will probably work too, but I did not test). Go to File->Save Page As... and select a directory on your PC.

Firefox will then download the main file and needed dependencies to the PC eliminating all the PHP since it doesn't even know the server generated the page dynamically using PHP.

You can now deploy the site where ever you like.

Please note that if there are JS files that actively communicate with the server to download content dynamically you'll have to edit them yourself.