16 replies [Last post]
CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Ive never done a 404 page before. Am I missing anything from this one?
http://pixelbehavior.com/404.html

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

No I didn't break it thank

No I didn't break it thank you very much Crazy last time I visit that site he said I broke it, the cheek of it. Smile

A 404 means "Error page not found" also allow for a 403 "page or directory forbidden"

I presume that you haven't set that live as I couldn't force a page not found.

How do you intend running the error pages .htaccess ?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Vade
Vade's picture
Offline
Enthusiast
Ireland
Last seen: 9 years 1 week ago
Ireland
Joined: 2007-08-13
Posts: 315
Points: 276

You can always use the 404 to

You can always use the 404 to direct people to other areas of your site.

http://www.illusional-reality.com/404.html

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Best to send to or include a

Best to send to or include a site map set of viable pages really

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Hugo wrote: How do you

Hugo wrote:

How do you intend running the error pages .htaccess ?

Yes, .htaccess

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Hugo wrote: Best to send to

Hugo wrote:

Best to send to or include a site map set of viable pages really

I have neither, there is just one page total.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

What just the 404 page

What just the 404 page Tongue

It's nice to provide - if not a huge site - a list of the pages available, if dynamic a search function of some description.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Do change that statement that

Do change that statement that your visitor has broken your site though, it's not good form to accuse, even by implication, your users of having broken the site. Good form is to apologise to them for having failed to provide the page they were seeking explain if necessary it might be due to a typo error and then attempt to direct them somewhere meaningful.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Hugo wrote: Do change that

Hugo wrote:

Do change that statement that your visitor has broken your site though, it's not good form to accuse, even by implication, your users of having broken the site.

Agreed. I changed it. How do I test to see if the 404 page is working? I have it up, and have updated .ataccess.

** nevermind. I have tested and is working **

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Just tested it for you

Just tested it for you working fine, you should see mention in your logs.

Just did:
http://pixelbehavior.com/somepage/
and

http://pixelbehavior.com/doodah.php

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Vade
Vade's picture
Offline
Enthusiast
Ireland
Last seen: 9 years 1 week ago
Ireland
Joined: 2007-08-13
Posts: 315
Points: 276

Working for me, tried to head

Working for me, tried to head over to http://www.pixelbehavior.com/iwannabreakit just to find a shiny new 404 page Smile

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Thx Hugo!

Thx Hugo!
Thx Vade!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Also meta tag the error pages

Also meta tag the error pages noindex for search engines, no point google listing all the failed pages.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

Verschwindende
Verschwindende's picture
Offline
Guru
Last seen: 35 weeks 3 days ago
Timezone: GMT-4
Joined: 2009-10-09
Posts: 2040
Points: 2262

Ooh, is that font stealable?

Ooh, is that font stealable? Wink I mean I already have it but I won't use if it requires licensing. Smile

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Hugo, not sure I follow you.

Hugo, not sure I follow you. I have this bit of code in there...

<meta name="robots" content="noindex, nofollow">

Is that what you're talking about?

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 4 years 12 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Verschwindende wrote: Ooh, is

Verschwindende wrote:

Ooh, is that font stealable? Wink I mean I already have it but I won't use if it requires licensing. Smile

Shhh, i'm just borrowing it, promise.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

CupidsToejam wrote: Hugo, not

CupidsToejam wrote:

Hugo, not sure I follow you. I have this bit of code in there...

<meta name="robots" content="noindex, nofollow">

Is that what you're talking about?

yep

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me