MyBB Community Forums

Full Version: Having issue with htaccess.txt on mybb forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, 
I just installed google sea plugin on my new forum and I'm required to add the code below to my htaccess, I've copied and added it to the file. After activating it refuses to work and it the message that displays when anyone visits my site is "Not Found
The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Please help,  I've tried following some of the posts I find to fix but it never worked.



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://epower.com.ng/$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]
hi , did you rename htaccess.txt to .htaccess? if no you must
Apache Read command from .htaccess
I tried renaming it but it's not. Working, it tell me the file exist there.

See what's it's showing, even after I select and try to create a fresh one with the name .htaccess.
So, edit the current .htaccess and verify its content.
As you deactivate the plugin, I can't check more.