PDA

View Full Version : PROBLEM!!! Forums randomly redirecting to social groups?


JMEWLS`
06-09-2009, 09:22 AM
<a href="http://www.nbadimensions.net/forums/" target="_blank">http://www.nbadimensions.net/forums/</a>

What is wrong? I just upgraded too 3.8.2

Scotteh
06-09-2009, 09:35 AM
You tried to access the address http://www.nbadimensions.net/forums/, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.

Your site down?

JMEWLS`
06-09-2009, 09:37 AM
You tried to access the address http://www.nbadimensions.net/forums/, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.

Your site down?

Try now?

Scotteh
06-09-2009, 09:45 AM
You have it as guests only so we can't see the forum index :P

JMEWLS`
06-09-2009, 09:46 AM
No, it's not. Check this link.

http://www.nbadimensions.net/forums/index.php

It's fine.

--------------- Added 1244544438 at 1244544438 ---------------

I don't understand what's going on, somethings re-directing to the social groups. I don't understand.

Scotteh
06-09-2009, 10:00 AM
I don't get redirected to social groups, i see the forumhome page?

NBA DIMENSIONS HEAD OFFICE
NBA Forum, Basketball Boards, Basketball Discussion, Basketball Forum, NBA Discussion, NBA Dimensions
Forum Last Post
New here? Register Now!
NBA Dimensions would like all basketball fans to join the talk on the website. You cannot post unless you're a member. Let's your opinion be heard!
-
Announcements / Feedback Forum
Announcements Forum, Feedback Forum.
Relevant titles for...
by JMEWLS
Today 06:42 AM
Introductions Forum
Introductions Forum, Red Carpet, NBA Dimensions Intro's.
Hello
by Bullsaj
Today 02:13 A

JMEWLS`
06-09-2009, 10:05 AM
Yes, but my link for this doesn't work.

http://www.nbadimensions.net/forums/

It brings you to the homepage? The /index.php does work. Which is why i don't understand what's going on? It's very weird? And my users cant do anything on the forum right now because all home links operate through http://www.nbadimensions.net/forums/ not http://www.nbadimensions.net/forums/index.php ,,,

Scotteh
06-09-2009, 10:20 AM
Go on your panel edit the .htaccess file

add

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*) index.php

should redirect /forum to /forum/index.php

JMEWLS`
06-09-2009, 10:31 AM
thankyou very much. last thing I would've thought of.

;)

--------------- Added 1244547244 at 1244547244 ---------------

I now cannot actually access forum. Eg.

http://www.nbadimensions.net/forums/player-comparison-forum/

But the index is fine :(

Scotteh
06-09-2009, 10:36 AM
Is the VbSEO still enabled?

That seems to be the problem as it can't find vbseo.php to get the forum id etc.

Is vbseo.php in the /forums folder?

edit; could you post the contents of your htaccess file? (for /forums)

JMEWLS`
06-09-2009, 10:37 AM
Yes it is in the forums folder? I'm going to retry.

Scotteh
06-09-2009, 10:38 AM
edit; could you post the contents of your htaccess file? (for /forums)

--------------- Added 1244547658 at 1244547658 ---------------

try removing the previous code i gave you and add;

DirectoryIndex index.php

JMEWLS`
06-09-2009, 10:43 AM
currently looks like this:

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

DirectoryIndex index.php

--------------- Added 1244547884 at 1244547884 ---------------

Added:

DirectoryIndex index.php

Still doesn't work.

:S

Scotteh
06-09-2009, 10:44 AM
seems to be working now?

JMEWLS`
06-09-2009, 10:51 AM
seems to be working now?

No it's not?

I've been playing around with it, either I can get the index and not the forums and visa versa. :(

Scotteh
06-09-2009, 10:52 AM
A minute ago both were working :P

I could display the index and the Announcements page :S

edit: 12;52 its working again :P

JMEWLS`
06-09-2009, 10:53 AM
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.nbadimensions\.net
#RewriteRule (.*) http://www.nbadimesnions.net/forumss/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

DirectoryIndex index.php

Current code? What's wrong with it?

Scotteh
06-09-2009, 10:56 AM
Nothing; both are working fine, try doing a hard refresh if your still getting an error.

i can access both the forum index via /forums and via /forums/index.php and can also access the threads.

JMEWLS`
06-09-2009, 10:57 AM
Okay looks like it's fixed now, what I did was re-download vbSEO and installed .htaccess straight from there.

Thanks a billion man. I really appreciate you giving up your time.

carubmun
06-09-2009, 02:13 PM
I had a similar problem once, glad to see folks helping you out so quickly.
Thats whats cool about vb.org, someone always on hand to help you out.