Solved: 6 Years, 1 Month, 2 Weeks ago [Error Message] forum links direct to wordpress 404
#7
Solved: 6 Years, 1 Month, 2 Weeks ago
(2015-03-24, 01:33 PM)Crazycat Wrote: You can try to put the rules from the MyBB .htaccess in the Wordpress .htaccess, after having removed the line I suggest you, and with a small correction:

 RewriteRule ^forum/forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
 RewriteRule ^forum/forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

 RewriteRule ^forum/thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
 RewriteRule ^forum/thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
 RewriteRule ^forum/thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
 RewriteRule ^forum/thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
 RewriteRule ^forum/thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
 RewriteRule ^forum/thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
 RewriteRule ^forum/thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

 RewriteRule ^forum/post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

 RewriteRule ^forum/announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

 RewriteRule ^forum/user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

 RewriteRule ^forum/calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
 RewriteRule ^forum/calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
 RewriteRule ^forum/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 ^forum/calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

 RewriteRule ^forum/event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

If it doesn't work, show us your Wordpress .htaccess file

Hey,
Thanks for the help I ended up removing some of the original wordpress .htaccess file, a plugin blocked the link.
Reply


Messages In This Thread
forum links direct to wordpress 404 - by zachi132 - 2015-03-24, 10:46 AM
RE: forum links direct to wordpress 404 - by zachi132 - 2015-03-24, 07:04 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)