.htaccess: 301 redirects XF1.5 (root) -> XF2.1 (subdir)

Sperber

Well-known member
Short but important qustion: are the XF1 redirects
Code:
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/$
RewriteRule (.*) /subdir/ [R=301]
still functional when upgrading the forums from XF1.5 to XF2.1 while moving them from root to a subdir?
 
Custom redirects (which that is) are not specifically related to XF or the version.

But yes, you will need a rewrite rule if you are moving your installation from the root to a directory.
 
Custom redirects (which that is) are not specifically related to XF or the version.

But yes, you will need a rewrite rule if you are moving your installation from the root to a directory.
May be I should have been more specific, Brogan: will the same redirect work for that or is XF2 different here, so it would need another ruleset? Redirct rules aren´t really something, I´m in to..
 
It's independent of the software when doing a catch all redirect, so yes, it will work the same in XF1 or XF2.
 
Top Bottom