fix the folder creation issue for wordpress