MyBB Community Forums

Full Version: Change location of 'archive' folder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Find:
<archive_url>

Replace:
{$mybb->settings['bburl']}/lite/

Done! Big Grin

-- EDIT --
It does work too as you can see from my personal forum. (dalehay.com/convo/lite/)
thanks, good tutorial!
Nice! Gj! Big Grin