Correcting dead-links (HTML to PHP)