Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Configure my Error 404 page in MyBB
#1
Not Solved
Okay, so I've avery simple error page..

I didn't have a .htaccess page by default so, created one.. and put this code into it.,

ErrorDocument 404 /404.html

tried it.. not worked.,
It showed the default white error 404 page !

   

I have htaccess.txt and htaccess-ngix.txt (or something like that)..
Haven't tried to put on hem., should I try ?!
Reply
#2
Not Solved
is mod_rewrite enabled on your server ? if you are not sure then contact your web host
Reply
#3
Not Solved
[attachment=36719 Wrote:.m. pid='1234658' dateline='1470331666']is mod_rewrite enabled on your server ? if you are not sure then contact your web host

Well, I'm running on a VPS, so,
Yes., I guess Mod_Rewrite is on.. (I Found it on htaccess.txt)

   
Reply
#4
Not Solved
^ navigate to below location and search for mod_rewrite (use browser search - CTRL + F)

admin panel >> Tools & Maintenance >> View PHP Info

does it appear ?
Reply
#5
Not Solved
(08-05-2016, 03:47 AM).m. Wrote: ^ navigate to below location and search for mod_rewrite (use browser search - CTRL + F)

admin panel >> Tools & Maintenance >> View PHP Info

does it appear ?

Yeah, It's present there..

   
Reply
#6
Not Solved
Can you post all content of your .htaccess file and is it present in FTP root ?
Also have you placed your 404.html in root folder ?
Reply
#7
Not Solved
I've placed my 404.php in public_html where global.php and all is available..
I've placed my .htaccess in the same place as of 404.php..

Now., there were no .htaccess fine by default, so I created it..

.htaccess contains just 1 line of code i.e.

ErrorDocument 404 /404.php

On the other hand., I have two more htaccess related files namely 
1) htaccess.txt and 2) htaccess-nginx.txt
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)