| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /tmp/ |
Upload File : |
#!/bin/bash
# Check key pages for technical SEO issues
URLS=(
"/"
"/drogentest/"
"/drogentest/urintest/"
"/drogentest/speicheltest/"
"/informationen/"
"/einfach-aufgeklaert/"
"/erklaert-aufgeklaert/"
"/suchtberatung/"
"/blog/"
"/einfach-aufgeklaert/drogenpolitik/deutschland/"
"/einfach-aufgeklaert/drogenpolitik/usa/kalifornien/"
"/produkt/drugexpert-10-drogentest10-parameter-1-st/"
"/substanz/thc-cannabis/"
"/tag/cannabis/"
"/category/ratgeber/"
"/verkehrsmonitor/"
"/ratgeber/nachweiszeiten-drogen-thc-kokain-amphetamin/"
"/sitemap/"
)
for path in "${URLS[@]}"; do
url="https://www.drogentest-online.de${path}"
html=$(curl -s -L "$url" 2>/dev/null)
title=$(echo "$html" | grep -oP '<title>\K[^<]+' | head -1)
title_len=${#title}
desc=$(echo "$html" | grep -oP 'meta name="description" content="\K[^"]+' | head -1)
desc_len=${#desc}
h1=$(echo "$html" | grep -oP '<h1[^>]*>\K[^<]+' | head -1)
h1_count=$(echo "$html" | grep -cP '<h1[^>]*>')
canonical=$(echo "$html" | grep -oP 'rel="canonical" href="\K[^"]+' | head -1)
canonical_count=$(echo "$html" | grep -cP 'rel="canonical"')
has_og=$(echo "$html" | grep -c 'og:title')
has_twitter=$(echo "$html" | grep -c 'twitter:card')
has_schema=$(echo "$html" | grep -c 'application/ld+json')
has_robots=$(echo "$html" | grep -oP 'meta name=['\''"]robots['\''"] content="\K[^"]+' | head -1)
has_hreflang=$(echo "$html" | grep -c 'hreflang=')
has_kw=$(echo "$html" | grep -c 'meta name="keywords"')
echo "URL: $path"
echo " Title ($title_len): $(echo $title | head -c 70)"
echo " Desc ($desc_len): $(echo $desc | head -c 80)"
echo " H1 ($h1_count): $h1"
echo " Canonical ($canonical_count): $(echo $canonical | sed 's|https://www.drogentest-online.de||')"
echo " OG:$has_og TW:$has_twitter Schema:$has_schema hreflang:$has_hreflang Keywords:$has_kw"
[ -n "$has_robots" ] && echo " Robots: $has_robots"
echo ""
done