Switch subpages to PHP, fix redirects