In the forum engine generates both the root page url ("/") and the "/index.php". We can fix the engine so that the "index.php" is not added unnecessarily, but it is easier to add the tag "Canonical". In addition, it does not require even changing the templates.
In additional can change the "functions.php". See patch.