XF 1.1 help me with .htaccess

Jake Bunce

XenForo moderator
Staff member
#5
This should do it (in a .htaccess file in the web root):

Code:
RewriteEngine On
RewriteRule ^index\.php http://www.gamingonlinux.com/forum/index.php [R=301,L]
Or if you intend to upload a different index.php to the web root then use this:

Code:
RewriteEngine On
RewriteCond %{QUERY_STRING} !^$
RewriteRule ^index\.php http://www.gamingonlinux.com/forum/index.php [R=301,L]
That will redirect all old index.php URLs (index.php?SOMETHING) except for plain old "index.php"
 
Top