Results 1 to 5 of 5

Users have to login 3 times to be seen as "member"

This is a discussion on Users have to login 3 times to be seen as "member" within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I'm not quite sure what the problem is but i loaded on vbseo and since them, my users have to ...

  1. #1
    Junior Member
    Real Name
    Kristie
    Join Date
    May 2007
    Posts
    11
    Liked
    0 times

    Users have to login 3 times to be seen as "member"

    I'm not quite sure what the problem is but i loaded on vbseo and since them, my users have to login 3-4 times before the forum recognizes them as members.

    Anyone else having this problem? I did the whole redirect thing but may not have understood the actual redirect, i don't know...

    My forums are located at www.jetgirls.net/forums (location of main files) but i have a forwarding alias setup at forums.jetgirls.net

    is this what the problem is or what could it be? i've already asked them to clear all cookies and to make sure they click the "remember me" box. yet, still having this problem.

    I've already reverted everything in my style, so i know it's not my style.. only other thing i can do is take all hacks off, but i did not have this problem before installing vbseo.

    Please help.

    Thanks!
    Kristie

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    you should setup 301 redirect form forums.jetgirls.net subdomain to Jetgirls.net as described in 301 Redirecting Domains
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Junior Member
    Real Name
    Kristie
    Join Date
    May 2007
    Posts
    11
    Liked
    0 times
    I did that.. but i'm wondering if i did it wrong? the thread really doesn't say how to redirect forums.xxx.net, so i really wasn't sure if i did it right.

    here's the code i put in

    #RewriteCond %{HTTP_HOST} !^www\.jetgirls\.net
    #RewriteRule (.*) http://www.jetgirls.net/forums/$1 [R=301,L]
    #RewriteRule ^forum/(.*) http://www.jetgirls.net/$1 [L,R=301]
    my entire htaccess is 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\.jetgirls\.net
    #RewriteRule (.*) http://www.jetgirls.net/forums/$1 [R=301,L]
    #RewriteRule ^forum/(.*) http://www.jetgirls.net/$1 [L,R=301]

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

    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

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

    RewriteEngine On
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    Last edited by ktaylor; 06-03-2007 at 02:45 PM.

  4. #4
    Junior Member
    Real Name
    Kristie
    Join Date
    May 2007
    Posts
    11
    Liked
    0 times
    oh wait... i think i know what's wrong.. it's the little # sign in front isnt' it. gosh sometimes i feel so blonde! hahaha

    is there anything else in the htaccess that i should be paying special attention to and/or fix?

    edit: or should the actual code be this?
    RewriteCond %{HTTP_HOST} !^forums\.jetgirls\.net
    RewriteRule (.*) http://forums.jetgirls.net/$1 [R=301,L]
    I guess i need to look up what each portion of the code actually means cuz i just don't understand it.
    Last edited by ktaylor; 06-03-2007 at 01:59 PM.

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    that code is correct *in case if your main domain is forums.jetgirls.net*.

    But if your main domain is www. jetgirls.net you should use:
    Code:
    RewriteCond %{HTTP_HOST} !^www\.jetgirls\.net
    RewriteRule (.*) http://www.jetgirls.net/forum/$1 [R=301,L]
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •