XF 1.5 Admin CP not displayed correctly with htaccess

TsinJu

Well-known member
Well, i am working on a htaccess File to force my domain to www and hide the Folder where the Forum is installed in. All works fine so far except the Admin CP. It wont diplayed correctly. Looks like a List witout any Styling and i can´t login.
I can´t/won´t install the forum into the root folder because i use other Sites in public_html too. Maybe anybody can tell me whats wrong or how to exclude the admin.php. Thanks

Code:
RewriteEngine On
# No Directory Listing
Options -Indexes

# Force www to avoid duplicate (Google)
RewriteCond %{HTTP_HOST} ^mydomain.com [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]

# Hide Subfolder in URL
RewriteCond %{REQUEST_URI} !^/subfolder1
RewriteRule (.*) /subfolder1/$1 [QSA,L]
 
I tried this once before and couldn't get it working. There were routing and URL issues. It sounds like you are having that problem as well.

Sorry. I don't have a fix for you.
 
Back
Top Bottom