MyBB Community Forums
Change location of 'archive' folder - Printable Version

+- MyBB Community Forums (
+-- Forum: Resources (
+--- Forum: Tutorials (
+--- Thread: Change location of 'archive' folder (/thread-28505.html)

Change location of 'archive' folder - Dale Hay - 2008-02-11

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. (

RE: Change location of 'archive' folder - dvb - 2008-02-24

thanks, good tutorial!

RE: Change location of 'archive' folder - burnz3r0 - 2008-02-24

Nice! Gj! Big Grin