Solved: 7 Years, 11 Months ago Rewrite and fix mirrored images
Solved: 7 Years, 11 Months ago
I've seen a lot of thread with this concern, but I'm still having trouble with the issue. I'd like to make it so the sub-directory is in the main directory. For example I have this in my .htaccess file located in public_html also in my sub-directory in /forum

I'd also like to know if there is a better way of redirecting and how to fix the missing images from the redirect.

DirectoryIndex forum/portal.php index.php
 RewriteRule ^$ /forum/portal.php [L,QSA]
 RewriteRule ^$ /forum/member.php [L,QSA]

Inside the sub-directory on my website:
[Image: oUCCsF8.png]

Outside the sub-directory on my website: (where it should be directed from the code above)
[Image: QbdogPe.png]

P.S. Sorry I'm fairly new with all of this, please don't be harsh.
P.S.S. Thanks for any help.
Solved: 7 Years, 11 Months ago
for the images links you can use {$mybb->settings['bburl']} as the base. see example below
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/images/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>

Forum Jump:

Users browsing this thread: 1 Guest(s)