Hey guys, I have multiple Cpanel accs and wish to apply for all clients an Error 404/500 page redirect to a custom page. How can I do this?
On a reseller level all you can do is create a 404.shtml and 500.shtml file in every users public_html directory Unless you have root acess (which you wont) you couldn't really stop them from deleting them The code to redirect would be as follows for both (replace example.com with where you want to send the redirects) <html> <head> <meta http-equiv="refresh" content="0;url=http://example.com/" /> <title></title> </head> <body bgcolor="#FFFFFF"> </body> </html> Code (markup):
But how can you create a 404.shtml and 500.shtml file in every users public_html directory automaticaly?