Prej adlı üyeden alıntı: mesajı görüntüle
Subdomain indexlenmesini nasıl önleriz ?
Subdomain kendisi zaten apayrı bir domaindir. Subdomain ana klasörüne robots.txt oluşturun ve içerisine konudaki anasayfa ve tüm içeriklerin indexlenmesi yani aşağıdaki kodu yerleştirin;

User-agent: *
Disallow: /
Halil_69 adlı üyeden alıntı: mesajı görüntüle
Merhaba, bilgileriniz için teşekkür ederim. Çok uğraşmama robots.txt de düzenleme yapmama rağman bu sorunu çözemedim. konuya ilşkin bir öneriniz varmı acaba.



robots dosyam ise şu şekilde:

User-agent: *
Allow: .js
Allow: .css
Allow: /*.js*
Allow: /*.css*
Disallow: /admin/
Disallow: /?ref=
Disallow: /*ref=*
Disallow: /*?ref=
Disallow: /admincp/
Disallow: /install/
Disallow: /subscriptions/
Disallow: /customavatars/
Disallow: /customprofilepics/
Disallow: /announcement.php
Disallow: /attachment.php
Disallow: /calendar.php
Disallow: /cron.php
Disallow: /editpost.php
Disallow: /faq.php
Disallow: /inlinemod.php
Disallow: /joinrequests.php
Disallow: /login.php
Disallow: /memberlist.php
Disallow: /misc.php
Disallow: /moderator.php
Disallow: /newattachment.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /payment_gateway.php
Disallow: /payments.php
Disallow: /poll.php
Disallow: /postings.php
Disallow: /private.php
Disallow: /profile.php
Disallow: /register.php
Disallow: /report.php
Disallow: /reputation.php
Disallow: /search.php
Disallow: /sendmessage.php
Disallow: /showgroups.php
Disallow: /showpost.php
Disallow: /subscription.php
Disallow: /usercp.php
Disallow: /threadrate.php
Disallow: /usernote.php
Disallow: /member_inlinemod.php
Disallow: /threadtag.php
Disallow: /archieve/
Disallow: /helpcenter/
Disallow: /*-print/
Disallow: /ajax.php
Disallow: /converse.php
Disallow: /global.php
Disallow: /helpcenter.php
Disallow: /archive/
Disallow: /chat/
Disallow: /calendar.php
Disallow: /member.php?
Disallow: /announcement.php
Disallow: /printthread.php
Disallow: /vbseocp.php
Orada gösterilen dosyalardan birisi size ait değil kısacası sizlik birşey yok. 2. dosya için ise tam url görmem gerekli.


salim59 adlı üyeden alıntı: mesajı görüntüle
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /xmlrpc.php


Bu şekilde robots.txt ideal midir hocam
Bir sorun göremedim açıkçası siz kendiniz kendi isteklerinizi belirtmişsiniz. Size göre ideal ise idealdir.