Making two 404 pages for one site

Asked By 0 points N/A Posted on -
qa-featured

Hello,

Can I make two 404 pages for one website in is?

 I need one to be for the public and one for a members who log in.  

Thanks.

SHARE
Answered By 95 points N/A #110882

Making two 404 pages for one site

qa-featured

You can create one 404 page for your site. Also, you can make two. But you have to got a several idea about create a 404 page.

You have to maintain two steps.

Step one- modified the httpd.conf file

Find out your web sever configuration file it called as httpd.conf

Now you have to find out the block of statements, it signifies your servers behavior and location. You can fond it here- /etc/httpd/httpd.conf, /usr/local/www/conf/httpd.conf

In typed server, it will be look like that I given below-

<VirtualHost www.intuitive.com>
ServerName www.intuitive.com
ServerAdmin [email protected]
DocumentRoot /usr/local/www/intuitive.com
ErrorLog logs/intuitive/error_log
TransferLog logs/intuitive/access_log
</VirtualHost>

The process is going with it's way. Visit here for a detailed- http://www.404-error-page.com/404-create-a-custom-404-error-page.shtml

You can visit this site also for a better idea- https://en.wikipedia.org/wiki/HTTP_404

Related Questions