CheckVorteil WordPress Theme - Server Setup
🚀 Server-Installation
Voraussetzungen
- Linux Server (Ubuntu/CentOS)
- Apache/Nginx
- PHP 8.0+
- MySQL/MariaDB
- SSL-Zertifikat
1. Server vorbereiten
# Ubuntu/Debian
sudo apt update
sudo apt install apache2 php8.1 mysql-server php8.1-mysql php8.1-gd php8.1-xml php8.1-curl
# CentOS/RHEL
sudo yum install httpd php mysql-server php-mysql php-gd php-xml php-curl
2. Domain konfigurieren
Apache VirtualHost für CheckVorteil:
<VirtualHost *:80>
ServerName checkvorteil.de
ServerAlias www.checkvorteil.de
DocumentRoot /var/www/checkvorteil
<Directory /var/www/checkvorteil>
AllowOverride All
Require all granted
</Directory>
# Redirect to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</VirtualHost>
<VirtualHost *:443>
ServerName checkvorteil.de
ServerAlias www.checkvorteil.de
DocumentRoot /var/www/checkvorteil
SSLEngine on
SSLCertificateFile /path/to/cert.pem
SSLCertificateKeyFile /path/to/private.key
<Directory /var/www/checkvorteil>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
3. Dateien hochladen
# Theme-Dateien zum Server
scp -r checkvorteil/ user@server:/var/www/
# Oder via Git
git clone https://github.com/username/checkvorteil.git /var/www/checkvorteil
4. Automatisches Deployment
chmod +x deploy.sh
./deploy.sh
5. SSL-Zertifikat (Let's Encrypt)
sudo apt install certbot python3-certbot-apache
sudo certbot --apache -d checkvorteil.de -d www.checkvorteil.de
6. Performance-Optimierung
PHP Optimierungen (/etc/php/8.1/apache2/php.ini):
memory_limit = 256M
max_execution_time = 300
upload_max_filesize = 32M
post_max_size = 32M
max_input_vars = 3000
Apache Optimierungen:
# In /etc/apache2/mods-available/deflate.conf
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
7. Backup-Script
#!/bin/bash
# Tägliches Backup
DATE=$(date +%Y%m%d)
mysqldump -u root -p checkvorteil_db > /backups/checkvorteil_$DATE.sql
tar -czf /backups/checkvorteil_files_$DATE.tar.gz /var/www/checkvorteil/
🔧 Theme-Features
- ✅ Responsive Design
- ✅ Custom Post Types (Services, KI-Tools)
- ✅ WordPress Customizer Integration
- ✅ SEO-optimiert
- ✅ Performance-optimiert
- ✅ Sicherheits-Features
📞 Support
Bei Problemen:
- Prüfen Sie die Apache/PHP Error-Logs
- Verifizieren Sie Dateiberechtigungen
- Testen Sie die Datenbankverbindung
Server-Logs:
- Apache:
/var/log/apache2/error.log - PHP:
/var/log/php8.1-fpm.log - MySQL:
/var/log/mysql/error.log
Description
Languages
PHP
80.6%
CSS
16.5%
Dockerfile
2.9%