5
Quote:
you will need to edit two files. submit.php and request.php
in submit.php look for htaccess.(its near line 228)
then change the line below that says $url.. so it looks like
$url = XOOPS_URL . '/'. $GLOBALS['xoopsModuleConfig']['baseurl'] . '/submit/';
if ($GLOBALS['xoopsModuleConfig']['htaccess']) {
$url = XOOPS_URL . '/'. $GLOBALS['xoopsModuleConfig']['baseurl'] . '/submit/';
if (!strpos($url, $_SERVER['REQUEST_URI'])) {
header( "HTTP/1.1 301 Moved Permanently" );
header('Location: '.$url);
exit(0);
}
}
in request.php do the same. now it looks like
if ($GLOBALS['xoopsModuleConfig']['htaccess']) {
$url = XOOPS_URL . '/' . $GLOBALS['xoopsModuleConfig']['baseurl'] . '/request/';
if (!strpos($url, $_SERVER['REQUEST_URI'])) {
header( "HTTP/1.1 301 Moved Permanently" );
header('Location: '.$url);
exit(0);
}
}
both of those were missing a /
CBB / LatestNews / Publisher / XM-Spotlight
(ノ◕ヮ◕)ノ*:・゚✧