Solicitar a las personas que se unan a un grupo público en lugar de mostrar la página 404 No encontrada

This functionality is built in and can be enabled by checking Admin - Settings - Security - detailed 404.

See Different error pages for 404 (not found) and 401 (private) - #4 by xav