2008-02-11, 05:27 PM
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:
Goto Line 65:
Goto Line 72:
Goto Line 160:
Rename: 'archive' folder to 'lite'
Edit Template: *template set* -> footer
Find:
Replace:
Done!
-- EDIT --
It does work too as you can see from my personal forum. (dalehay.com/convo/lite/)
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!

-- EDIT --
It does work too as you can see from my personal forum. (dalehay.com/convo/lite/)