bah pour moi voila le code que j'ai inseré sur moon mainfile.php
// modules changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/ODN/' , '/modules/' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/ODN/' , '/modules/' , @$_SERVER['HTTP_REFERER'] ) ;
function modules_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/' , XOOPS_URL.'/ODN/' , $s ) ;
}
ob_start( 'modules_changer' ) ;
// newbb changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/forum' , '/modules/newbb' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/forum' , '/modules/newbb' , @$_SERVER['HTTP_REFERER'] ) ;
function newbb_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/newbb' , XOOPS_URL.'/forum' , $s ) ;
}
ob_start( 'newbb_changer' ) ;
// news changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/actualite' , '/modules/news' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/actualite' , '/modules/news' , @$_SERVER['HTTP_REFERER'] ) ;
function news_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/news' , XOOPS_URL.'/actualite' , $s ) ;
}
ob_start( 'news_changer' ) ;
// wfdownloads changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/telecharger' , '/modules/wfdownloads' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/telecharger' , '/modules/wfdownloads' , @$_SERVER['HTTP_REFERER'] ) ;
function wfdownloads_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/wfdownloads' , XOOPS_URL.'/telecharger' , $s ) ;
}
ob_start( 'wfdownloads_changer' ) ;
// xoopspoll changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/sondages' , '/modules/xoopspoll' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/sondages' , '/modules/xoopspoll' , @$_SERVER['HTTP_REFERER'] ) ;
function xoopspoll_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/xoopspoll' , XOOPS_URL.'/sondages' , $s ) ;
}
ob_start( 'xoopspoll_changer' ) ;
// smartsection changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/astuces' , '/modules/smartsection' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/astuces' , '/modules/smartsection' , @$_SERVER['HTTP_REFERER'] ) ;
function smartsection_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/smartsection' , XOOPS_URL.'/astuces' , $s ) ;
}
ob_start( 'smartsection_changer' ) ;
// wordbook changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/dico' , '/modules/wordbook' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/dico' , '/modules/wordbook' , @$_SERVER['HTTP_REFERER'] ) ;
function wordbook_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/wordbook' , XOOPS_URL.'/dico' , $s ) ;
}
ob_start( 'wordbook_changer' ) ;
// lanutil changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/utilitaires' , '/modules/lanutil' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/utilitaire' , '/modules/lanutil' , @$_SERVER['HTTP_REFERER'] ) ;
function lanutil_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/lanutil' , XOOPS_URL.'/utilitaires' , $s ) ;
}
ob_start( 'lanutil_changer' ) ;
// mylinks changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/annuaire' , '/modules/mylinks' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/annuaire' , '/modules/mylinks' , @$_SERVER['HTTP_REFERER'] ) ;
function mylinks_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/mylinks' , XOOPS_URL.'/annuaire' , $s ) ;
}
ob_start( 'mylinks_changer' ) ;
// smartfaq changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/faq' , '/modules/smartfaq' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/faq' , '/modules/smartfaq' , @$_SERVER['HTTP_REFERER'] ) ;
function smartfaq_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/smartfaq' , XOOPS_URL.'/faq' , $s ) ;
}
ob_start( 'smartfaq_changer' ) ;
// MadGames changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/jeux-flash' , '/modules/MadGames' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/bannieres' , '/modules/fastbanner' , @$_SERVER['HTTP_REFERER'] ) ;
function MadGames_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/MadGames' , XOOPS_URL.'/jeux-flash' , $s ) ;
}
ob_start( 'MadGames_changer' ) ;
// smartpartner changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/partenaires' , '/modules/smartpartner' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/partenaires' , '/modules/smartpartner' , @$_SERVER['HTTP_REFERER'] ) ;
function smartpartner_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/smartpartner' , XOOPS_URL.'/partenaires' , $s ) ;
}
ob_start( 'smartpartner_changer' ) ;
// istats changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/statistique' , '/modules/istats' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/statistique' , '/modules/istats' , @$_SERVER['HTTP_REFERER'] ) ;
function istats_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/istats' , XOOPS_URL.'/statistique' , $s ) ;
}
ob_start( 'istats_changer' ) ;
// xmmemberstats changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/liste-membres' , '/modules/xmmemberstats' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/liste-membres' , '/modules/xmmemberstats' , @$_SERVER['HTTP_REFERER'] ) ;
function xmmemberstats_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/xmmemberstats' , XOOPS_URL.'/liste-membres' , $s ) ;
}
ob_start( 'xmmemberstats_changer' ) ;
// xmmemberstats/rank.php changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/rank' , '/modules/xmmemberstats/rank.php' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/rank' , '/modules/xmmemberstats/rank.php' , @$_SERVER['HTTP_REFERER'] ) ;
function rank_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/xmmemberstats/rank.php' , XOOPS_URL.'/rank' , $s ) ;
}
ob_start( 'xmmemberstats/rank.php_changer' ) ;
// contact changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/contact' , '/modules/contact' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/contact' , '/modules/contact' , @$_SERVER['HTTP_REFERER'] ) ;
function contact_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/contact' , XOOPS_URL.'/contact' , $s ) ;
}
ob_start( 'contact_changer' ) ;
// anni changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/anniversaire' , '/modules/anni/index.php' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/anniversaire' , '/modules/anni/index.php' , @$_SERVER['HTTP_REFERER'] ) ;
function anni_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/anni/index.php' , XOOPS_URL.'/anniversaire' , $s ) ;
}
ob_start( 'anni_changer' ) ;
// mpmanager changer (insert this 6 lines)
$_SERVER['REQUEST_URI'] = str_replace( '/mp' , '/modules/mpmanager' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/mp' , '/modules/mpmanager' , @$_SERVER['HTTP_REFERER'] ) ;
function mpmanager_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/mpmanager' , XOOPS_URL.'/mp' , $s ) ;
}
ob_start( 'mpmanager_changer' ) ;
et pour .htaccess :
RewriteEngine on
RewriteRule ^ODN/(.*)$ modules/$1 [L]
RewriteRule ^forum(.*)$ modules/newbb$1 [L]
RewriteRule ^actualite(.*)$ modules/news$1 [L]
RewriteRule ^telecharger(.*)$ modules/wfdownloads$1 [L]
RewriteRule ^sondages(.*)$ modules/xoopspoll$1 [L]
RewriteRule ^astuces(.*)$ modules/smartsection$1 [L]
RewriteRule ^dico(.*)$ modules/wordbook$1 [L]
RewriteRule ^utilitaires(.*)$ modules/lanutil$1 [L]
RewriteRule ^annuaire(.*)$ modules/mylinks$1 [L]
RewriteRule ^faq(.*)$ modules/smartfaq$1 [L]
RewriteRule ^jeux-flash(.*)$ modules/MadGames$1 [L]
RewriteRule ^partenaires(.*)$ modules/smartpartner$1 [L]
RewriteRule ^statistique(.*)$ modules/istats$1 [L]
RewriteRule ^liste-membres(.*)$ modules/xmmemberstats$1 [L]
RewriteRule ^rank(.*)$ modules/xmmemberstats/rank.php$1 [L]
RewriteRule ^contact(.*)$ modules/contact$1 [L]
RewriteRule ^anniversaire(.*)$ modules/anni/index.php$1 [L]
RewriteRule ^mp(.*)$ modules/mpmanager$1 [L]
je pense que vous cela va vous aidez, vous pouvez supprimé ou mdifier ou ajouter ce que vous voulez sur les codes suivants!