In template global preferences set "allow templates to be saved as files". Then edit a template from the control panel template manager, and check the checkbox to save the template as file.
When you click save a notice should appear (top of window) that the file is saved. If EE is somehow not able to save the file, it will show a notice. Most of the times this is due to file permissions and/or file ownership.
Figure 1. Notice when unable to save template as file
- Inside the template directory, the basic structure is
- Try saving a file from the template manager first
and verify and follow the directory structure from there.