MyBB Community Forums

Full Version: 404 on all links after moving host
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys.

I've just moved my forum from one host to another, as described in this thread.

I had all the "usual" errors with the URL and cookies, but got those fixed pretty quickly. Everything works fast and smoothly now, except just one thing.

Whenever I click on any link to a forum or thread, I get redirected to a 404 page.

My website: http://ninjajournal.imbahost.com/

I have the Google SEO plugin, and have tried clearing my .htaccess, and reapplying all the Google SEO settings. Still get the same error.

Is there some way I can fix this problem, or will I just have to recreate things? Thank you for your help Smile

P.S. If you need a test account with admin access, please tell me and I'll send the info to you.
Can you post here your .htaccess code?
RewriteEngine on

# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /

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

# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404

# 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]

It is what the Google SEO plugin told me to add.