Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: Custom 404 Error Page  (Read 21656 times)

0 Members and 1 Guest are viewing this topic.

Offline ZarPrime

Re: Custom 404 Error Page
« Reply #15 on: February 13, 2014, 11:59:35 AM »
Nice one Steve !!!  The only thing I would consider doing is maybe centering the image in the article.  Otherwise,  :thumbup: :thumbup: :thumbup:

Offline Skhilled

  • Administrator
  • *
  • Posts: 9424
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Custom 404 Error Page
« Reply #16 on: February 14, 2014, 08:03:39 AM »
I had Les enlarge it for me so now it is bigger but still need to add the text.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Custom 404 Error Page
« Reply #17 on: July 13, 2016, 01:34:12 PM »

Whoops!!!


Just fixing the error page, but...
Forgot about this part:

Quote
Hi Ken,

No, that's not correct. You should have this:

ErrorDocument 404 /FamilyForum/index.php?page=208


@Skhilled

Steve, this information may be needed for you to correctly set your 404 redirect.


I posted on the Google 'Webmaster' support forums and was told that my code was wrong and should be as follows:

Quote
Hi Ken,

No, that's not correct. You should have this:

ErrorDocument 404 /FamilyForum/index.php?page=208


(You're mixing up a 301 redirect with the ErrorDocument directive.)

Also you must not include the full URL in an ErrorDocument directive or you won't get the all-important 404 status code: it will do a 302 redirect instead (which is what it does right now), which will screw your site up.

Modify as I've suggested and then check the HTTP headers to ensure it's sending a 404 code as well as serving up the 404 page:

Check the headers with one of these tools...
Live http headers (a Firefox browser addon_: https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/
Rex Swain's http viewer: http://www.rexswain.com/httpview.html
Web sniffer: http://web-sniffer.net/


After making the change to my .htaccess file the error page call works as it should. (the support helper had me run a check to see how Google was reading the page call)
You can find the support topic at this link...
https://productforums.google.com/forum/#!msg/webmasters/8KmJGnTDl4s/bwj4E9U4d-gJ
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Custom 404 Error Page
« Reply #18 on: October 20, 2017, 11:12:45 AM »

Resurrecting this old topic because I just discovered that our super cool 404 error page was not being called up on page errors!  shocked003

Needed the code added back into the .htaccess... fixed now.  :tick:
https://www.ourfamilyforum.org/FamilyForum/index.php?page=208
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9424
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Custom 404 Error Page
« Reply #19 on: October 21, 2017, 06:17:57 AM »
Cool, but now it shows up when you login. LOL

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Custom 404 Error Page
« Reply #20 on: October 21, 2017, 06:54:12 AM »
Me don't know how to fix that.  :-\
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9424
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Custom 404 Error Page
« Reply #21 on: October 21, 2017, 10:55:31 AM »
I just logged in and it didn't show up this time. Go figure...

EDIT: I just logged out and back in but this time I used the TP block to login and it did it.

Just did it again to me using the login in the main menu...
« Last Edit: October 22, 2017, 06:44:24 AM by Skhilled »

Offline Skhilled

  • Administrator
  • *
  • Posts: 9424
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Custom 404 Error Page
« Reply #22 on: October 22, 2017, 02:46:52 PM »
 shocked028I have fixed this to the standard 404 page:

https://www.ourfamilyforum.org/FamilyForum/404.shtml

I've commented out the .htaccess line to the TP article. I think there may be a TP issue with it running from within .htaccess.
« Last Edit: October 22, 2017, 04:48:46 PM by Skhilled »

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11942
  • Gender: Male
  • View Gallery
Re: Custom 404 Error Page
« Reply #23 on: October 22, 2017, 03:15:50 PM »
Good deal.  :thumbup:

The new 404 page will need some navigation links added in... me can do that.  laughing7
EDIT: ... after the NASCAR race that just started!
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Skhilled

  • Administrator
  • *
  • Posts: 9424
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: Custom 404 Error Page
« Reply #24 on: October 22, 2017, 04:48:14 PM »
LOL, I just realized that myself while sitting here cooking and playing a game.