Using Root as the index to /community

Kalidor

Member
Wordpress has a feature where if you have your WP installed in domain.com/wordpress you can still type domain.com to display your site. This is done by copying the .htaccess and index.php files to root and then modifying a line of text in the index.php file.

Is there a way to do this in XF? So if I visit domain.com it will display the index to the forums that are installed in domain.com/community?
 

Kalidor

Member
Let me rephrase my question - what I want is when someone types

https://www.mysite.com it will automatically land them in the directory path of https://www.mysite.com/forums/forums/latest-news.18/

I'm sure it's an issue with my .htaccess file which is currently set to

RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite\.com$ RewriteRule (.*) http://www.mysite.com/$1 [R=301,L] RewriteRule ^$ forums/forums/latest-news.18/ [L]

This is causes a redirect to the board index, which is helpful, but I'd love to get it to drop the visitor directly into the articles forum with the root domain name.

Any ideas what I'm doing wrong?
 

Kalidor

Member
Basically I just want the news articles forum to be the default landing page when someone goes to my website because I don't WANT to use Wordpress or something similar.
 
Top