Change location of 'archive' folder
If you're like me and have a .htaccess conflicting with your 'archive' folder, then this small simple tutorial will tell you how to get around it and change the location of the 'archive' folder. Note: In this example, I am changing the archive folder to 'lite' - however you can change it to whatever you wish - just change 'lite' to whatever you want.

Open: /archive/global.php

Goto Line 47:
	$base_url = $mybb->settings['bburl']."/archive/index.php?";
Change /archive/ to /lite/
	$base_url = $mybb->settings['bburl']."/lite/index.php?";

Goto Line 65:
	$base_url = $mybb->settings['bburl']."/archive/index.php/";
Change /archive/ to /lite/
	$base_url = $mybb->settings['bburl']."/lite/index.php/";

Goto Line 72:
$archiveurl = $mybb->settings['bburl'].'/archive';
Change /archive to /lite
$archiveurl = $mybb->settings['bburl'].'/lite';

Goto Line 160:
$navbits[0]['url'] = $mybb->settings['bburl']."/archive/index.php";
Change /archive/ to /lite/
$navbits[0]['url'] = $mybb->settings['bburl']."/lite/index.php";

Rename: 'archive' folder to 'lite'

Edit Template: *template set* -> footer


Done! Big Grin

-- EDIT --
It does work too as you can see from my personal forum. (
thanks, good tutorial!
Creativity is a drug I cannot live without.
[Image: 1]Support PM will be ignored
Nice! Gj! Big Grin
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Doug Adams

Forum Jump:

Users browsing this thread: 1 Guest(s)