|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
||||
|
||||
|
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 |
| Post Reply |
| Thread Tools | |
|
|