Fixing span and adding 404 redirect