Ok well i just install spicefuse's seo mod. now when i click on a forum, its a friendly URL but it says 404 - File Not Found. and it doesn't take me to the forum.
WHAT DID I DO WRONG?
*Sigh* Wrong forum. Mod, please move...
You need to have a host that supports htaccess otherwise you'll get 404 error with the mod enabled when attempting to navigate to threads and forums.
Usually free hosts or hosts that use PHP Safe Mode disable htaccess because from what I've heard it more resource intensive and a security risk.
If your host does in fact support htaccess, you'll need to upload the included .htaccess file to the root of your hosting account using either FTP or their file manager.
(The .htaccess file should of been included in the SEO mod)
Before uploading the .htaccess file, open it with notepad and and make sure the following code is included in it:
Code:
RewriteEngine On
# //seo_mod_start
# Uncomment the following and add your forum path if rewrites arent working properly
#RewriteBase /mybb/
RewriteRule ^index.html$ index.php [L,NE]
RewriteRule ^(.*)-t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
RewriteRule ^(.*)-t-([0-9]+)-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&page=$3 [QSA,L]
RewriteRule ^(.*)-f-([0-9]+)-([a-z]+)(-|-[a-z]+)-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&sortby=$3&order=$4&datecut=$5&page=$6$7 [L]
RewriteRule ^(.*)-a-([0-9]+).html$ announcements.php?aid=$2 [L]
# //seo_mod_end
(Quote from Pacifier on the Spicefuse forums.)
If you get a "Filetype is not allowed" error when attempting to upload the .htaccess file that means your host has safe mode in effect and has disallowed htaccess. In this case there is nothing you can do other than to disable the mod.
Please DON'T post in all capital letters.
destroyer Wrote:Please DON'T post in all capital letters.
Was that directed towards the op? I'm asking because I know I didn't type in all capitals, and I only saw on sentence of the ops that was in all capitals.