MyBB Community Forums

Full Version: Google SEO on 1.6.5 error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, MyBB Community.
I am getting a Google SEO 1.6.2 error. After I correctly installed it and did my custom settings, the pages are still using the old URL. I've seen in the Plugins area on my forum that I'm getting this error:


Add to .htaccess:
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://[b]my forum URL[/b]/$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]

URL is passive. Apply changes to core files to activate.
Redirect is enabled and URL is passive. Redirecting SEO URLs back to MyBB's default URLs.
404, Meta, Redirect, Sitemap and URL are enabled. (Configure)
Click to Apply changes to core files.


I've read on Internet that I must replace inc/functions.php with the one from the package. I did that and pressed the "Apply" button from "Click to Apply changes to core files." The URLs were using the correct Google SEO form, but when I entered any page except index.php, online.php etc, I'm getting a 404 error from my host.
The strange thing is that I don't have any .htaccess in FTP.
How can I solve that problem?

Thank you and best regards,
Raffello
the content shown in add to .htaccess block should be added to .htaccess file of your forum root folder
there is no .htaccess file ; so create it & add the shown content
Oh My God! It worked! The strange thing is that I tried that too. Maybe I called the file wrong.
Thank you! Thank you so much!
+1 reputation
I don't know how else can I thank you.