Basically, you have a choice between 1) do what your boss says since he pays the bill, or 2) start looking for another job. I do not want you in the least.
Since you're still a noob with that, you do not have much choice.
And remember, even if you are still a noob, you are also a PRO simply because you are paid to practice your PROFESSION !!! You may or may not have the "pro" experience that your boss pays, but that does not mean that you are not a PRO yourself.
Since your work is your daily bread, you will probably have to follow the flow, whether you like it or not. This does not mean that you are turning around and playing dead. What you need to do is show your boss that he is losing money with the "pro" that he has brought. It will be difficult, and it may take weeks, if not months, before the opportunity arises. In the meantime, keep learning everything you can love. As you improve, opportunities will arise. When they do, be ready with a solution.
What I would like to do in my spare time is to create the SAME website using a text editor. With all the whirlwind spewing bootcrap, you should be able to have a lite copy of the website running at the same time or less. Then, when your "professional" continues to load your boss more and more for the search of bugs, you can present him a website without bug, FAST, TINY, requiring little maintenance.
At that time, two websites would make the same thing the same. Once they can be compared, it's easy to know which is faster, better and cheaper in the long run. The reality is that your boss is only interested in the bottom line, so you just have to show him the advantages of transferring the "pro" and leaving the real PRO do the work.
The best part of this approach is that you will have a training that will allow you to "sell" to your boss and eventually increase your income. In addition, you will gain experience that you can take away if / when you decide to climb the world. In addition, if your boss has his head in a ball, you will not be forced to continue working for him.