2014-12-31, 01:43 AM
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.
Inside the sub-directory on my website:
![[Image: oUCCsF8.png]](https://camo.mybb.com/a3e52bb1cda3a8a9cc7d99491e1c93a5466f6131/687474703a2f2f692e696d6775722e636f6d2f6f5543437346382e706e67)
Outside the sub-directory on my website: (where it should be directed from the code above)
![[Image: QbdogPe.png]](https://camo.mybb.com/a60047761c4672b407af0da9548ee10fe0defd1b/687474703a2f2f692e696d6775722e636f6d2f5162646f6750652e706e67)
P.S. Sorry I'm fairly new with all of this, please don't be harsh.
P.S.S. Thanks for any help.
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:
Outside the sub-directory on my website: (where it should be directed from the code above)
P.S. Sorry I'm fairly new with all of this, please don't be harsh.
P.S.S. Thanks for any help.