generate_indexes.py: Don't fail for redirect pages