change redirect status

Hello,
Change redirect status 302 by 301.
This PR follows a request from SEO
Best regards
Merge pull request #7 from MrGuillou/patch-1

Change redirect status