Results 1 to 6 of 6

Thread: Custom error pages.....

  1. #1
    Join Date
    Nov 2005
    Posts
    190
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Custom error pages.....

    We've just switched on a custom error page (well a redirect to our homepage actuallY!) via HELM as sometimes google etc. will cache a "crap" product page of ours and place a [potential] customer on a 404 page.

    It now seems to work (i.e. we went for a 404 and got redirected to our homepage), but is there ANYTHING we need to be aware of with this process/method or is HELM the way to do it?

    Thanks!

  2. #2
    Join Date
    Oct 2005
    Location
    Manchester
    Posts
    155
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    If you can, make it a 302 (temporary) or 301 (permanent) redirect.

    I use:
    Response.Status="301 moved permanently"

    That way the search engine spiders won't keep continually coming back to the out-of-date page, as you have told it it has permanently moved.

  3. #3
    Join Date
    Nov 2005
    Posts
    190
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Reactivate
    If you can, make it a 302 (temporary) or 301 (permanent) redirect.

    I use:
    Response.Status="301 moved permanently"

    That way the search engine spiders won't keep continually coming back to the out-of-date page, as you have told it it has permanently moved.
    Thanks for the response.

    I think(!) I understand but as these are all dynamic pages, if we delete a product (bearing in mind the DB does not re-use ex/past product numbers) then "that page" will always be a 404 as surely the SE page that is cached will point to a duff page and as it is a dynamically generated page the link from the SE will point to a NOW non-existant page (that once existed as it once refered to a once valid product)?

    TBH, the fact that our webpages are cached in the SE's is GOOD for us and all I want is to send the [potential] customer to a "nice" page, such as our homepage, and not give them a nasty 404.

    If I'm talking pants, or mis-understanding then please feel free to say so!!

  4. #4
    Join Date
    Feb 2004
    Posts
    4,901
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    From what I understand, the custom 404 page will still send a 404 status code, but just show a nicer page - in your case your homepage.

    Search engines wont come back for 404s.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  5. #5
    Join Date
    Oct 2005
    Location
    Manchester
    Posts
    155
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Warren Ashcroft View Post
    From what I understand, the custom 404 page will still send a 404 status code, but just show a nicer page - in your case your homepage.

    Search engines wont come back for 404s.
    Just an update on this.
    The custom error pages do not send any status codes.

    Google sitemaps is forever telling me off, so I've manually added a line of code to send the correct status codes on each custom error page.

  6. #6
    Join Date
    Feb 2004
    Posts
    4,901
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Correct, I looked into this a couple of days ago. By design the 404 custom error page will send back the standard 200 status code.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Setting default pages in helm
    By jordan in forum Technical Support
    Replies: 1
    Last Post: 11th June 2006, 10:25 PM
  2. Search engine friendly pages ASP
    By philplatt in forum SEO and Website Promotion
    Replies: 15
    Last Post: 15th February 2006, 09:17 PM
  3. PHP: Custom error handling
    By nick in forum Code Sharing
    Replies: 6
    Last Post: 11th February 2006, 11:53 PM
  4. Yellow pages
    By Jaro in forum Portal/CMS Applications
    Replies: 2
    Last Post: 29th December 2005, 11:38 AM
  5. Replies: 16
    Last Post: 2nd December 2005, 04:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •