matagin
Member
Xenforo version: 1.2.4
Web server: Open LiteSpeed version 1.2.8
Xenforo installed in the /forums directory of my web server.
I am having an issue where I enable Friendly URLs and it works but it adds an extra /forums to my URL so when I click forums in the top menu or any forum sections, I see this.
http://mydomain.com/forums/forums/
http://mydomain.com/forums/forums/general-discussion.5/
In the ACP, I have Board URL set to: http://mydomain.com/forums
Rewrite rules:
I know it adds the extra /forums because of the rewrite rule but if I just have /index.php it redirects me to the root non-Xenforo home page index.php which lives at http://mydomain.com. So if I am in my forums and click anything or try to go to http://mydomain.com/forums/announcements.2/ it redirects me to my non-Xenforo home page.
Maybe I should have named my folder /community instead.
Web server: Open LiteSpeed version 1.2.8
Xenforo installed in the /forums directory of my web server.
I am having an issue where I enable Friendly URLs and it works but it adds an extra /forums to my URL so when I click forums in the top menu or any forum sections, I see this.
http://mydomain.com/forums/forums/
http://mydomain.com/forums/forums/general-discussion.5/
In the ACP, I have Board URL set to: http://mydomain.com/forums
Rewrite rules:
Code:
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ /forums/index.php [NC,L]
I know it adds the extra /forums because of the rewrite rule but if I just have /index.php it redirects me to the root non-Xenforo home page index.php which lives at http://mydomain.com. So if I am in my forums and click anything or try to go to http://mydomain.com/forums/announcements.2/ it redirects me to my non-Xenforo home page.
Maybe I should have named my folder /community instead.