MyBB Community Forums

Full Version: 500 Internal Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,
I get this error whenever I go to anyone's profile and categories...

Ex: http://chibullsnation.co.cc/forums/forum-3.html

How would I fix this? I recently installed GoogleSEO.
Did you change anything in your .htaccess? Errors in this file can result in 500 Internal Error.
(2009-08-24, 07:34 PM)frostschutz Wrote: [ -> ]Did you change anything in your .htaccess? Errors in this file can result in 500 Internal Error.
No, I didn't even go into my FTP, when I installed GoogleSEO, it worked fine and then after, let's say, 30 minutes the forum started getting these errors.
Reupload the .htaccess file anyways and see what that does.
No one else experienced 500 Internal Error in relation to Google SEO as far as I'm aware.

Try reverting .htaccess to the default one anyway. Try also removing it altogether (you have to disable MyBB SEF URLs then).

Also, if you have an Apache error.log, what does it say? It may contain a more detailed reason as to why there is a 500 Internal Error.
If none of the things said above work, contact your host, as they may have changed something.
1) I deleted my original .htaccess and replaced it with the one that comes with the myBB Installation.
2) I un-installed Google SEO & Then Re-Installed it
3) Now I have to add this code:
4) Where should I put this code in the .htaccess?
RewriteEngine on

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://chibullsnation.co.cc/forums/$1?$2 [L,QSA,R=301]

# Google SEO Sitemap:
RewriteRule ^sitemap-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

# Google SEO 404:
ErrorDocument 404 /forums/misc.php?google_seo_error=404
If 1) was true, 4) would not contain "RewriteEngine on".

If 1) is true anyway, add the rules after RewriteEngine on.
(2009-08-30, 10:22 PM)frostschutz Wrote: [ -> ]If 1) was true, 4) would not contain "RewriteEngine on".

If 1) is true anyway, add the rules after RewriteEngine on.
So I would add all that code after the first "RewriteEngine"?
You need rewriteengine on only once...

Make a backup copy of your .htaccess and just try it...
Pages: 1 2