Andy To
Member
I have place my Xenforo installation in a subdirectory (community) and uses a .htaccess to rewrite the URL to the root. (To rewrite example.com/community to example.com)
I have everything working except for the editor. When I click on link or any of the buttons in the editor that has a ajax call, it will load the home page in the overlay instead. Anyone has a better rewrite code for doing the URL rewrite?
I have everything working except for the editor. When I click on link or any of the buttons in the editor that has a ajax call, it will load the home page in the overlay instead. Anyone has a better rewrite code for doing the URL rewrite?
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/community/.*$
RewriteRule ^(.*)$ /community/$1
Redirect /admin.php http://example.com/community/admin.php