removing .php from location