WPS hide plugin not showing 404 error, instead “There has been a critical error on this website.”

I installed wps hide login plugin. I have set a new login page /weblogin and it is working. The default wp-login.php page gives error “There has been a critical error on this website.”

​

The redirection url set in wps hide is “404” . I have created a 404.php page in my themes directory and it works on all urls. How do I set a 404 error for wp-login.php?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer