۱۳۸۹/۱۲/۱۲، ۲۳:۳۲:۵۶ عصر
دوست عزیز گفتم که باید توی یه فایل robots.txt بسازی توش اینا را ذخیره کنی
به عنوان مثال اگه انجمن تو روت اصلی نصب اینجوری میشه Disallow: /private.php اگر تو پوشه ساب دامین نصبه Disallow: /nam poshe/private.php
برای خط اول هم همیطور اگه تو روت نصب اینجور میشه
Sitemap: http://addres site/sitemap-index.xml
اگر تو پوشه یا ساب دامین نصبه اینجوری میشه
Sitemap: http://addres site/name poshe/sitemap-index.xml
کد php:
Sitemap: http://ireshop.net/forum/sitemap-index.xml
User-Agent: *
Disallow: /captcha.php
Disallow: /editpost.php
Disallow: /misc.php
Disallow: /modcp.php
Disallow: /moderation.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /printthread.php
Disallow: /private.php
Disallow: /ratethread.php
Disallow: /report.php
Disallow: /reputation.php
Disallow: /search.php
Disallow: /sendthread.php
Disallow: /task.php
Disallow: /usercp.php
Disallow: /usercp2.php
Disallow: /calendar.php
Disallow: /*action=emailuser*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*year=*
Disallow: /*action=weekview*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*sort=*
Disallow: /*order=*
Disallow: /*mode=*
Disallow: /*datecut=*
Disallow: /admin
Disallow: /image
Disallow: /install
Disallow: /jscripts
Disallow: /calendar
Disallow: /attachment.php
Disallow: /ratethread.php
Disallow: /member.php
Disallow: /memberlist.php
Disallow: /search.php
Disallow: /newreply.php
Disallow: /private.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: display.php
Disallow: /editpost.php
Disallow: /showthread.php
Disallow: /sendthread.php
Disallow: /printthread.php
Disallow: /image
Disallow: /jscripts
Disallow: /calendar
Disallow: /attachment.php
Disallow: /captcha.php
Disallow: /editpost.php
Disallow: /member.php
Disallow: /memberlist.php
Disallow: /misc.php
Disallow: /modcp.php
Disallow: /moderation.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /private.php
Disallow: /printthread.php
Disallow: /ratethread.php
Disallow: /report.php
Disallow: /search.php
Disallow: /sendthread.php
Disallow: /task.php
Disallow: /usercp.php
Disallow: /usercp2.php
Disallow: /captcha.php
Disallow: /editpost.php
Disallow: /misc.php
Disallow: /modcp.php
Disallow: /moderation.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /printthread.php
Disallow: /private.php
Allow: /
به عنوان مثال اگه انجمن تو روت اصلی نصب اینجوری میشه Disallow: /private.php اگر تو پوشه ساب دامین نصبه Disallow: /nam poshe/private.php
برای خط اول هم همیطور اگه تو روت نصب اینجور میشه
Sitemap: http://addres site/sitemap-index.xml
اگر تو پوشه یا ساب دامین نصبه اینجوری میشه
Sitemap: http://addres site/name poshe/sitemap-index.xml

