• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 How to: Redirect from root to folder

Robru

Well-known member
#1
How to: Redirect from root to folder:
Code:
https://www.caviaforum.nl/threads/
to:
https://www.caviaforum.nl/community/threads/
Thank you for your help :)
 

Robru

Well-known member
#3
I'am confused about this:

Alternatively, if you move from the root to the /community directory, this would need to be added to an .htaccess file in the root:
Code:
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*) /community/ [R=301]
The root is my Wordpress installation
And Xenforo is in the directory /community

If I use the above rewrite rule
All traffic through put to the directory /community