Pyroferus
New member
Ok so after trying to install this myself and failing 4-5 times I finally contacted my hosting company bluehost. I explained to them what I was trying to do and the told me I needed to do this:
# BlueHost.com
# .htaccess main domain to subdirectory redirect
# Do not change this line.
RewriteEngine on
# Change example.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?duhlife.org$
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/community/
# Don't change the following two lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /community/$1
# Change example.com to be your main domain again.
# Change 'subdirectory' to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?duhlife.org$
RewriteRule ^(/)?$ community/index.php [L]
Which worked in pulling the forum up on my test site url duhlife.org.
So I guess my questions are did I install it (Xenporta) in the wrong spot? If so where do I install the Xenporta files? In searching the forum it says to place them in a folder with "root" on the end but I could not find any folders/files with root in them...
# BlueHost.com
# .htaccess main domain to subdirectory redirect
# Do not change this line.
RewriteEngine on
# Change example.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?duhlife.org$
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/community/
# Don't change the following two lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subdirectory' to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /community/$1
# Change example.com to be your main domain again.
# Change 'subdirectory' to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?duhlife.org$
RewriteRule ^(/)?$ community/index.php [L]
Which worked in pulling the forum up on my test site url duhlife.org.
So I guess my questions are did I install it (Xenporta) in the wrong spot? If so where do I install the Xenporta files? In searching the forum it says to place them in a folder with "root" on the end but I could not find any folders/files with root in them...