Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 09-02-2006, 06:17 PM
RAitch Offline
pixelpost guru
 
Join Date: Aug 2006
Location: Ontario
Posts: 115
Custom 404

I've been trying to figure out how to do a custom 404 screen when people try to access pages that don't exist.

It seems it's not as simple as modifying the missing.html.

I would like to add a custom page that looks like the rest of my template. Is it possible to use the same *template.html coding in a 404 page?

Any help/guidance would be appreciated!!

Thanks.
Rich
__________________
My Gallery
Reply With Quote
  #2  
Old 09-02-2006, 06:25 PM
Connie
Guest
 
Posts: n/a
Rich,

a 404-page is defined in the server customization and it is definitevely not processed by pixelpost.

You can always save a webpage from within the browser, edit this a little bit, add some information that it is a 404-page with some links to your content and upload this again and define this page as your missing.htm or whatever the name for that default page is.
Reply With Quote
  #3  
Old 09-02-2006, 08:36 PM
RAitch Offline
pixelpost guru
 
Join Date: Aug 2006
Location: Ontario
Posts: 115
I found that out after I posted it. DOH!
What's being processed when you do an <index.php?x=blah> (assuming blah_template.html doesn't exist)?
__________________
My Gallery
Reply With Quote
  #4  
Old 09-02-2006, 10:17 PM
Connie
Guest
 
Posts: n/a
nothing, because we stopped all undefined parameters when calling index.php

if you want that such a page will be processed by index.php, you need an addon for that
Reply With Quote
  #5  
Old 09-02-2006, 10:54 PM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
you can create a custom page with the miniCMS and then call it by entries in .htaccess or redirect them to another domain (google, etc.)

something like that
------------
RewriteEngine on
RewriteCond %{REQUEST_URI} !-U
RewriteRule ^(.+) http://redirect.dom/$1
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:57 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs