2010-12-07, 06:58 AM
2010-12-07, 07:59 AM
Make sure you renamed htaccess.txt to .htaccess.
2010-12-07, 12:46 PM
yes i make a file .htaccess put in forum directory,
Please given me correct loction of the file
creat on forum directory or creat in http directory.
my htaccess file
Please given me correct loction of the file
creat on forum directory or creat in http directory.
my htaccess file
Quote:#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
# the setting enabled in the Admin CP and you have this file
# named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
Rewritebase /forum/
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]
2010-12-07, 12:55 PM
It should be placed in your forum root.
2010-12-07, 02:01 PM
vikram, please stop spamming, you already made any number of threads on this
http://community.mybb.com/thread-83533.html
http://community.mybb.com/thread-83533-p...#pid609329
http://community.mybb.com/thread-83533.html
http://community.mybb.com/thread-83533-p...#pid609329
2010-12-07, 02:16 PM
Seeing as no rewrite rules work for you, it seems that your host isn't capable of using them.
2010-12-09, 07:03 AM
thanks mattrogowski & frostschutz , Please close my all 404 Releted thread, my problem solved by my host,i am use window2008 server and they rewrite it by my rule.