از لحاظ کارایی داشتن که مطمئن هستم. فقط منظورم اینه که گزینه SEO URL هم که اسم تاپیک رو در url میاره بهتره فعال باشه یا نه؟
البته الان پیدا کردم. تکراری به وجود نمیاد و خودش اسم جدید اضافه میکنه.
یه مورد دیگه. توی فایل htaccess.example.txt متوجه شدم که بعد از تنظمیات SEO قسمتی رو هم به نام # Default MyBB Rewrite Rules گذاشته بود. کار این قسمت چیه؟!! توی نسخه های قبلی SEO این رو ننوشته بود. ظاهرا یک html هم به آخر عنوان SEO اضافه میکنه. یعنی مثلا میشه:
http://domain.com/Thread-topic-title-in-...-mode.html
در صورتی که در حالت عادی انجمن من به این صورت هست:
http://domain.com/Thread-topic-title-in-seo-url-mode
و آخرش html نداره. البته اسامی فارسیه و اینجا برای مثال نوشتم. خالا اون قسمت رو هم اضافه کردم ولی هنوز html آخرش نیومده. جایی رو اشتباه انجام دادم؟
چیزی که الان اضافه کردم اینه و توی مثال خودش نوشته بود. قبل از این کدها هم که خود ruleهای مربوط به seo هست و اینجا تکرارش نکردم. در واقع اول رولهای seo اومده و بعد این رولها
کد:
# Default MyBB Rewrite Rules:
RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
و یک سوال دیگه اینکه چرا آخر urlهای من / اسلش نمیاد؟
میخوام مثل این سایت باشه:
http://mybbgroup.com/mybb-google-seo-plu...-mybb-1-6/