Code: Select all
'U_INDEX' => append_sid("{$phpbb_root_path}index.$phpEx"),
Code: Select all
'U_INDEX' => append_sid($phpbb_root_path),
/
instead of /index.php
./index2.php
instead of /index.php
, and then make /index.php
redirect to /
. So that way all board index links in the future will redirect to /
.Code: Select all
DirectoryIndex index2.php index.htm index.html
/index2.php
use the following:
Code: Select all
<?php
/* no point in doing anything too complicated! */
$phpbb_root_path = './';
header('HTTP/1.1 301 Moved Permanently');
header('Location: ' . $phpbb_root_path);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Page Moved</title>
</head>
<body>
<h1>Page Moved</h1>
<p>This page has been moved! Go to the <a href="<?php echo $phpbb_root_path; ?>">Board Index</a>.</p>
</body>
</html>