replace .php by /