change index to .php extension
change index to .php extension