Quick re-direct question

PVO_Dave

Active member
Hi,

I don't really know much about .htaccess re-directs, can someone help me out with the hopefully simple query below:

We have moved from VB4 to XF, looks like some users must have favourited the /forum.php URL, what can I put in my .htaccess to re-direct people from forum.php to index.php

Ta,
Dave.
 
Definitely not my strong point, but this may do it, assuming the forum is installed in the root:
Code:
RewriteRule ^forum.php / [R=301,L]

Have you considered uploading a forum.php file though with a message stating the site URL has changed?
 
That was going to be my next suggestion, it's what I did for my site when I migrated as we used to have a home.php in the root.

I actually have this in mine though:
Code:
<?php
header('Location: http://cliptheapex.com/community/pages/home', true, 301);
 
Top Bottom