How do I create my own custom 404 error pages on a RAQ?

First, you will need to create your custom error page and name it 404.html (or 404.php, etc.). Upload this file to your site's /web directory.

Now create a plain text file and call it .htaccess . This file should contain the following line:

ErrorDocument 404 /404.html

Once this file is uploaded to your site's /web directory the server will use your custom error page.

  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

Can I disable PHP safe mode on a Cobalt account?

The Cobalt accounts are on a shared server. For security reasons we cannot disable php safe...

Why can't I change my FrontPage username?

All sites on our Cobalt RaQ4 servers must use the username "webmaster" for FrontPage, and a...

How do I block unwanted sites from appearing in my web statistics?

Creating (or adding) the following information to a file named .htaccess can accomplish this....