How to Override or Make ERPNext Website Pages Unreachable

I want to know a way to override all website pages that come with erpnext application, or I want to change them to be unreachable by any user like erpnext web pages do not exist (Products page and extra)


I you haven’t checked then please check the documentation.

I hope this helps.

Thank You!

Thanks for your replay, but sadly, I tried this, but the erpnext page still shows up, not mine.
Before, in version 13, it is working, but in version 14, it won’t

It still works on frappe pages like login,404, etc., but it won’t work with the erpnext page.