move site to /community folder

masterchief

Well-known member
I want to move my XenForo site to /community folder... what simple steps to take? I have done this before, just want to revisit before I actually move data. regards
 

masterchief

Well-known member
everything moved over.. no trouble.... did a redirect via htaccess

my objective is to create splash page similar to XenForo site, and direct traffic via menu options
 

masterchief

Well-known member
here you go.... enjoy! update your site info

NOTE: Although you may have placed your entire xenforo site into the /community folder, this htaccess makes it appear to still exist in the ROOT.



RewriteEngine on

RewriteCond %{HTTP_HOST} ^(www.)?site.com$

RewriteCond %{REQUEST_URI} !^/community/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /community/$1

RewriteCond %{HTTP_HOST} ^(www.)?site.com$

RewriteRule ^(/)?$ community/index.php [L]
 
Top