404 loop fixed and .gitignore