Fix for url .. acepting both php and normal for now