Add script to assign missing place ids for permalinks.
Rewrite landing page in PHP and add permalink support to each place.
Add permalink id to each place, via tools/assign-ids.php
Keep original landing page but redirect to new PHP version.