Custom 403 forbidden and 404 error pages?

  • oskillzzo
  • Beginner
  • Beginner
  • oskillzzo
  • Posts: 50

Post 3+ Months Ago

ok so i know how to do a custom 404 error page and i used this in the .htaaccess file:

ErrorDocument 404 http://www.onlygoodanimes.com/404.php

so if i wanted to do a custom 403 forbidden would i just put this under the 404 error code?

ErrorDocument 403 http://www.onlygoodanimes.com/forbidden.php

edit: what i want to do is have all the ips i ban to show the http://www.onlygoodanimes.com/forbidden.php file but when i ban my own ip and try to view the site, it doesnt show the custom 403, just the standard 403 every site shows
  • 07x
  • Newbie
  • Newbie
  • 07x
  • Posts: 5

Post 3+ Months Ago

Yes, that is correct. It is quite simple and straightforward, as you can see. :)

It may not be showing yours because you did not clear your browser cache first. Try making the change, then clearing your browser cache and trying again.
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

Quote:
ok so i know how to do a custom 404 error page and i used this in the .htaaccess file:

ErrorDocument 404 http://www.onlygoodanimes.com/404.php
How do you do 404 page then I don't now what to do with the .htaaccess is it a file name? please tell! :hmm:
  • oskillzzo
  • Beginner
  • Beginner
  • oskillzzo
  • Posts: 50

Post 3+ Months Ago

tastysite wrote:
Quote:
ok so i know how to do a custom 404 error page and i used this in the .htaaccess file:

ErrorDocument 404 http://www.onlygoodanimes.com/404.php
How do you do 404 page then I don't now what to do with the .htaaccess is it a file name? please tell! :hmm:



yea its a file but you wouldnt be able to see it in your 'file manager', the only way i was able to view the file was through ftp.... all you do is edit the .htaccess file in notepad, save it than upload it and overwrite the file..........for

ErrorDocument 404 http://etcetc.com/sldkjs

than you make a custom 404 page lol best i could explain it
  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

Tar my host does not have a 404 page (it does say you can change it) but it shows the defont browser page as the 404 ie firefox's 404/IE's 404 ect.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 10 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.