# WordPress Installation Templates This directory contains template files used by the WordPress installation script. ## Files ### `htaccess.template` This file contains the default `.htaccess` configuration that will be applied to new WordPress installations. **Features:** - LiteSpeed Cache plugin configuration - Standard WordPress permalink structure - LiteSpeed-specific optimizations - Cache optimization directives **Usage:** The `install-wordpress.sh` script will automatically use this template file if it exists. If the template file is missing, the script will fall back to using an inline version. **Customization:** You can modify this template file to customize the default `.htaccess` configuration for your WordPress installations: 1. Edit `htaccess.template` with your preferred configuration 2. Run the WordPress installation script normally 3. The script will use your customized template **Template Location:** The script looks for the template at: `scripts/templates/htaccess.template` ## Template System Benefits - **Maintainability**: Easier to update and modify .htaccess configurations - **Version Control**: Track changes to .htaccess configurations - **Consistency**: Ensure all WordPress installations use the same base configuration - **Fallback**: Script continues to work even if template files are missing