Correcting the if statement for profile.site url

needed to be `profile.site`