I'm using this code to create a 301 redirect from old smf forum to new vbulletin forum. But I'm getting these two errors when i visit an old url: Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /my/absolute/path/vbseo301.php on line 2 Parse error: syntax error, unexpected T_STRING in /my/absolute/path/vbseo301.php on line 2 I can't understand the problem?
Replace following line 2 code: * 404 /301 for external and internal link redirect. Code (markup): with /* 404 /301 for external and internal link redirect. Code (markup): Kailash
It still gives the same errors after trying the above. I don't understand. I can even take out this part: * 404 /301 for external and internal link redirect. * * @package ImpEx.tools * @version $Revision: 1902 $ * @author Jerry Hutchings * @modified by Oleg Ignatiuk */ Code (markup): And it will still say the errors are on line two.