Files
Websites/Profice WebSite/DEPLOYMENT.md
2026-02-06 09:30:59 +01:00

90 lines
2.6 KiB
Markdown

# Profice Website - Server Deployment Guide
## 🚀 Ready for Production
Your website has been prepared for server hosting with the following optimizations:
### ✅ Completed Setup
#### 1. **Webhook Configuration Updated**
- ✅ Switched to production webhook URLs
- ✅ Debug mode disabled for security
- ✅ Using correct N8N webhook IDs
#### 2. **Server Security & Performance (.htaccess)**
- ✅ Directory listing disabled
- ✅ GZIP compression enabled
- ✅ Browser caching configured
- ✅ Security headers set
- ✅ PHP error display disabled
- ✅ HTTPS redirect ready (uncomment when SSL is active)
#### 3. **Character Encoding Fixed**
- ✅ All German special characters corrected
- ✅ UTF-8 encoding properly configured
#### 4. **File Structure Clean**
- ✅ Test files removed
- ✅ Production-ready configuration
## 📁 Files to Upload
Upload the entire `Profice WebSite` folder to your server:
```
Profice WebSite/
├── .htaccess # Server configuration
├── index.html # Homepage
├── sites/ # Subpages
│ ├── offers.html
│ ├── leads.html
│ ├── website.html
│ ├── ki-integration.html
│ └── automatisation.html
├── scripts/ # Backend functionality
│ └── add/
│ └── send.php # Webhook handler
├── style/ # CSS files
├── images/ # Image assets
└── components/ # Reusable components
```
## 🔧 Server Requirements
### Minimum Requirements:
- ✅ PHP 7.4+ (recommended 8.0+)
- ✅ Apache server with .htaccess support
- ✅ cURL extension enabled
- ✅ JSON extension enabled
### Optional (for better performance):
- SSL certificate (HTTPS)
- GZIP compression support
- Expires module for caching
## 🌐 After Upload
1. **Test the contact form** - Submit a test request
2. **Check webhook delivery** - Verify N8N receives requests
3. **Test all pages** - Ensure proper navigation
4. **Enable HTTPS** (if available) - Uncomment lines 50-53 in .htaccess
## 🔒 Security Notes
- All sensitive data (webhooks, tokens) are stored in `send.php`
- Debug mode is disabled in production
- Security headers are configured
- Directory listing is disabled
## 📞 Support
If you encounter issues:
1. Check server error logs
2. Verify PHP extensions (cURL, JSON)
3. Test webhook URLs manually
4. Ensure file permissions are correct (755 for folders, 644 for files)
---
**Your website is now ready for production deployment! 🎉**