1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress multisite get current user function not working in subdomains

Discussion in 'Content Management' started by ArunPS, Sep 26, 2011.

  1. #1
    Hi,

    i have recently upgrade the wordpress to multisite in my clients site..

    for your reference here is the link...
    realestate.nyasatimes.com

    even after i logged as admin, current user always shows as 0.. i dont know where the issue was.. was googling for last 6 hours and tried some thing nothing helped me :(

    so finally i am here to seek your help..if you came across this issue.. please share and help me...
    here is .htaccess file for your reference
    
    RewriteEngine On
    #redirect to www for the main site
    RewriteCond %{HTTP_HOST} ^nyasatimes\.com
    RewriteRule ^ http://www.nyasatimes.com/%{REQUEST_URI} [L,R=301]
    
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    Code (markup):
     
    ArunPS, Sep 26, 2011 IP
  2. lukeit

    lukeit Active Member

    Messages:
    273
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    53
    #2
    i had the same problem. i solved changing all psw and admin user completely different.
     
    lukeit, Sep 28, 2011 IP