add php and change links