MyBB Community Forums

Full Version: Guest not allowed to view forums
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

Since I first thought this problem was about a specific plugin I posted to another forum. Now that I conclude the problem applies to my whole site, i decide to post here instead with a more clean and detailed description.


This is some basic info about my site:

URL: www.ekonomiforumet.se
Version: 1.8.3
Language: Swedish


This is the problem:

When guests try to access my site it displays the login page. They cannot view forums, portal or any other page like online.php etc.


I have checked so that guests can view both board and forums via the settings for usergroups.

[Image: user_permission.jpg?_subject_uid=8475873..._mk-3_EktQ]




I also allow guests to view the forums via the forum settings for each specific forum.

[Image: guest_forum_permission.jpg?_subject_uid=...r2qeZ5cYtQ]




When I try to reach my forums this is what happens.

[Image: forum_no_access.jpg?_subject_uid=8475873...gptVR2--lg]




When I test my sitemap in Google Webmaster Tools it gives me this error: "We encountered an error when trying to access your Sitemap. Check your Sitemap follows our guidelines and that you can access it in the location you specified. Then submit it again."

AND

"General HTTP error: HTTP 403 error (Forbidden)
HTTP Error: 403"



This is how my robots.txt looks like:

User-Agent: *
Disallow: captcha.php
Disallow: editpost.php
Disallow: misc.php
Disallow: modcp.php
Disallow: moderation.php
Disallow: newreply.php
Disallow: newthread.php
Disallow: online.php
Disallow: printthread.php
Disallow: private.php
Disallow: ratethread.php
Disallow: report.php
Disallow: reputation.php
Disallow: search.php
Disallow: sendthread.php
Disallow: task.php
Disallow: usercp.php
Disallow: usercp2.php
Disallow: calendar.php
Disallow: *action=emailuser*
Disallow: *action=nextnewest*
Disallow: *action=nextoldest*
Disallow: *year=*
Disallow: *action=weekview*
Disallow: *action=nextnewest*
Disallow: *action=nextoldest*
Disallow: *sort=*
Disallow: *order=*
Disallow: *mode=*
Disallow: *datecut=*
Allow: /



And this is my .htaccess:

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

RewriteEngine on

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://www.ekonomiforumet.se/$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]

# OUGC Pages Category URL:
    RewriteRule ^category\-([^./]+)$ pages.php?category=$1 [L,QSA,NC]

# OUGC Pages Page URL:
    RewriteRule ^page\-([^./]+)$ pages.php?page=$1 [L,QSA,NC]


I have tried to disable all plugins to check if that's what causing the problem but it gave no positive result. I also tried to set the Googlebot to "member" status without success.

If anyone want to have a look at my ACP i'm willing to setup an temporary administrator account. Contact me..

/Persson
ACP>Login and Registration options> Is the "Force users to login?" setting enabled?
(2014-12-17, 11:20 PM)Leviathan Wrote: [ -> ]ACP>Login and Registration options> Is the "Force users to login?" setting enabled?

Thank you Leviathan! You nailed it! Now it works like a charm! How easy, but still so hard Smile

Thread can be closed!

/Persson
Glad I could help.