Davey-UK
Active member
We have recently transferred all files out of a subforum on the server (named forums).
The registration rates have fallen drastically since the move. Things seem to have updated ok on Google, but just curious if we have got our setup correct for a root folder installation.
The only reason we did this was to get rid of the redirect to the forums directory as we didnt have a landing page on the root of the domain.
If someone could have a quick look at the settings we have and advise if something is wrong or missing, it would be appreciated.
Firstly, in the forum_list template i see this line:
In the ACP i see this option. Should the index page route be empty?
![187589 187589](https://xenforo.com/community/data/attachments/187/187457-5b648e7a08425b2243fb892b4c454907.jpg)
And finally our htacces file:
If someone could just clarify that this setup is correct it would be appreciated.
Thankyou
The registration rates have fallen drastically since the move. Things seem to have updated ok on Google, but just curious if we have got our setup correct for a root folder installation.
The only reason we did this was to get rid of the redirect to the forums directory as we didnt have a landing page on the root of the domain.
If someone could have a quick look at the settings we have and advise if something is wrong or missing, it would be appreciated.
Firstly, in the forum_list template i see this line:
Code:
<xf:if is="{$xf.options.forumsDefaultPage} != 'forums'">
In the ACP i see this option. Should the index page route be empty?
![187589 187589](https://xenforo.com/community/data/attachments/187/187457-5b648e7a08425b2243fb892b4c454907.jpg)
And finally our htacces file:
Code:
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
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 ^.*$ index.php [NC,L]
#RewriteRule ^forums/(.*)?$ /$1 [R=301,L]
</IfModule>
If someone could just clarify that this setup is correct it would be appreciated.
Thankyou