16 replies [Last post]
CupidsToejam
CupidsToejam's picture
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

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


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Hugo
Hugo's picture
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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
User offline. Last seen 1 hour 42 min ago. Offline
rank Enthusiast
Enthusiast
Timezone: GMT+1
Joined: 2007-08-13
Posts: 278
Points: 233

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
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

Hugo wrote: How do you

Hugo wrote:

How do you intend running the error pages .htaccess ?

Yes, .htaccess


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

CupidsToejam
CupidsToejam's picture
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

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.


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Hugo
Hugo's picture
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

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 **


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Hugo
Hugo's picture
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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
User offline. Last seen 1 hour 42 min ago. Offline
rank Enthusiast
Enthusiast
Timezone: GMT+1
Joined: 2007-08-13
Posts: 278
Points: 233

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
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

Thx Hugo!

Thx Hugo!
Thx Vade!


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Hugo
Hugo's picture
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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
User is online Online
rank Leader
Leader
Timezone: GMT-4
Joined: 2009-10-09
Posts: 748
Points: 838

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

CSS HTML ASP.net C# Coffee

CupidsToejam
CupidsToejam's picture
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

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?


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

CupidsToejam
CupidsToejam's picture
User offline. Last seen 1 hour 27 min ago. Offline
rank Guru
Guru
Timezone: GMT-5
Joined: 2008-08-15
Posts: 2382
Points: 1268

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.


First basic few steps in building a webpage
1. Gather and collect content.
2. Organize the content into meaningful semantic valid HTML
3. Design the prototype
4. Style using CSS

http://www.pixelbehavior.com

Hugo
Hugo's picture
User offline. Last seen 4 hours 36 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+1
Joined: 2004-06-06
Posts: 14200
Points: 1256

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