XF 2.0 Subdirectories not accessable due to redirect issue?

Escobar

Active member
Hello, I am using the default xenforo 2 .htaccess file but its not allowing me to visit other subdirectories. It keept redirecting me to the folder the forums is installed in how do i solve this?

The rest has been solved only this is needed to be solved
 
Last edited:
Edit: I solved this by having the default xenforo 2 htaccess in the xenforo folder. Creating a redirect which redirects the maindomain to subdirectory. Then i cleared cache by hitting f12 then right click the refresh button on chrome and select delete cache and force reload. After this it worked
 
it has been fixed by adding the following to the .htaccess on root.

RewriteCond %{REQUEST_URI} "/subdirectory/" [OR]
RewriteCond %{REQUEST_URI} "/subdirectory2/"
RewriteRule (.*) $1 [L]

posted in case someone has the same problem
 
Last edited:
Top Bottom