cat << 'EOF' | sudo tee /var/www/dvojka.dzs.cz/web/robots.txt User-agent: * # --- 1. POVOLENÍ PRO GOOGLE (SEO renderování) --- Allow: /core/*.css$ Allow: /core/*.css? Allow: /core/*.js$ Allow: /core/*.js? Allow: /core/*.gif Allow: /core/*.jpg Allow: /core/*.jpeg Allow: /core/*.png Allow: /core/*.svg Allow: /profiles/*.css$ Allow: /profiles/*.css? Allow: /profiles/*.js$ Allow: /profiles/*.js? Allow: /profiles/*.gif Allow: /profiles/*.jpg Allow: /profiles/*.jpeg Allow: /profiles/*.png Allow: /profiles/*.svg # --- 2. OCHRANA PROTI ČÍNSKÉMU SPAMU A FACET FLOODINGU --- # Zákaz vyhledávání na VŠECH jazykových mutacích Disallow: /search Disallow: /*/search # Zákaz indexování nekonečných kombinací filtrů (Ochrana serveru) Disallow: /*?f%5B* Disallow: /*?f[* Disallow: /*&f%5B* Disallow: /*&f[* # --- 3. ZÁKLADNÍ SYSTÉMOVÁ OCHRANA DRUPALU --- Disallow: /core/ Disallow: /profiles/ Disallow: /README.txt Disallow: /web.config Disallow: /admin/ Disallow: /*/admin/ Disallow: /user/ Disallow: /*/user/ Disallow: /node/add/ Disallow: /*/node/add/ Disallow: /comment/reply/ Disallow: /*/comment/reply/ Disallow: /filter/tips Disallow: /*/filter/tips Disallow: /media/oembed Disallow: /*/media/oembed # --- 4. ZÁKAZ SPECIFICKÝCH APLIKACÍ --- Disallow: /vyhledavac-stipendii Disallow: /*/vyhledavac-stipendii Disallow: /visits/scholarships Disallow: /*/visits/scholarships Disallow: /scholarship-finder Disallow: /*/scholarship-finder EOF