Nome vostro sito - 404 - Pagina non trovata
Siamo spiacenti ma la pagina alla quale stai tentando di accedere non esiste.O qualsiasi altro messaggio vogliate visualizzare.
nel caso in cui si utilizzi un componente URL Rewrite (tipo SH404sef, si segue la stessa procedura? penso di no dato che è il componente stesso che fa la funzione, vero?Esatto
....Questo è un discorso diverso, bisogna prima capire il perchè danno 404.
controllare periodicamente le url che danno 404 e redirezionarle a mano ....
Ora la pagina "standard" di Joomla per la 404 è bianca con la scritta "spiacenti...." e il link alla home.
Potete verificare andando sul vostro sito e digitando una qualsiasi parola strampalata dopo l'indirizzo tipo "www.tuosito.it/er ro re"
Di solito è bianca e nei casi fortunati c'è un link alla home page.dopo o modificato la pagina 404 tramite ftp nella cartella template o aperto il file con un editor e vicino al
messagio Siamo spiacenti ma la pagina alla quale stai tentando di accedere non esiste.sotto ce il link che porta in homepage
Ho provato a vedere una pagina di errore 404 del mio sito, d..................In alcuni casi la 404 del vs host viene caricata prima della 404 di joomla. Dovreste disabilitarla, o modificare la pagina 404 direttamente dal cpanel dell'host.
ma ho notato che mi esce una pagina normale di errore 404 e non quella 404.php di joomla.
<?php /** * @version $Id: sef.php 1553 2005-12-24 17:04:09Z Saka $ * @package Joomla * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ // no direct access defined( '_VALID_MOS' ) or die( 'Restricted access' ); // loads english language file by default if ($mosConfig_lang=='') { $mosConfig_lang = 'english'; } // load language file include_once( 'language/' . $mosConfig_lang . '.php' ); // backward compatibility if (!defined( '_404' )) { define( '_404', 'We\'re sorry but the page you requested could not be found.' ); } if (!defined( '_404_RTS' )) { define( '_404_RTS', 'Return to site' ); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>404 Not Found - <?php echo $mosConfig_sitename; ?></title> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> <style type="text/css"> body { font-family: Arial, Helvetica, Sans Serif; font-size: 11px; color: #333333; background: #ffffff; text-align: center; } </style> </head> <body> <h2> <?php echo $mosConfig_sitename; ?> </h2> <h2> <?php echo _404;?> </h2> <h3> <a href="<?php echo $mosConfig_live_site; ?>"> <?php echo _404_RTS;?>[/url] </h3> Error 404 </body> </html> |