Enhance SEO by updating meta tags for better indexing and link following, and improve page metadata management in showPartnerSites function.

This commit is contained in:
Torsten Schulz (local)
2025-11-28 10:26:10 +01:00
parent da5f415e0b
commit 8ec1ed5105
2 changed files with 52 additions and 0 deletions

27
rebuild_and_test.sh Normal file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# Skript zum Neubauen und Testen der robots Meta-Tag Änderung
echo "=== 1. Binary neu bauen ==="
cd /home/torsten/singlechat || exit 1
cmake --build build -j2
if [ $? -ne 0 ]; then
echo "FEHLER: Build fehlgeschlagen!"
exit 1
fi
echo -e "\n=== 2. Binary nach /opt/ypchat/bin/ kopieren ==="
sudo cp build/singlechat.wt /opt/ypchat/bin/singlechat.wt
echo -e "\n=== 3. Service neu starten ==="
sudo systemctl restart ypchat.service
sleep 3
echo -e "\n=== 4. Service-Status prüfen ==="
sudo systemctl status ypchat.service --no-pager | grep -E "Active|since" | head -2
echo -e "\n=== 5. robots Meta-Tag testen ==="
./test_robots_tag.sh
echo -e "\n=== Fertig! ==="