Results 1 to 5 of 5
  1. #1
    Casual Pligger aixelsyd's Avatar
    Joined
    Oct 2006
    Posts
    32

    Authentication recognize www or not

    I would like to see pligg able to understand that a user authenticated with www.pligg.com is the same as pligg.com.

    Right now it tracks them separately.

    Is that possible to do?

    Thanks!

    Aixelsyd

  2. #2
    Pligg Developer chuckroast's Avatar
    Joined
    Jun 2006
    Posts
    5,478
    aixelsyd

    This can be resolved using the .htaccess file..

  3. #3
    New Pligger kemie's Avatar
    Joined
    Oct 2006
    Posts
    1
    chuckroast, exactly how? what needs to be added to the htaccess file?

  4. #4
    Casual Pligger aixelsyd's Avatar
    Joined
    Oct 2006
    Posts
    32
    Thanks, I didn't think of using the htaccess. It's not pligg controlled then and probably just a heck of a lot easier this way for pligg. Especially with how others may have subdomains. So that makes sense.

    Here is how to do it.

    To force the www

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

    Or drop the www

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

    Remember to turn the

    RewriteEngine on

    If it isn't already.

    -
    Aixelsyd

  5. #5
    Constant Pligger disier's Avatar
    Joined
    Nov 2006
    Posts
    123
    To eliminate the www create a file called .htaccess and use the nex code
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.yoursite\.com$ [NC]
    RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
    If you have yourpligg installed in a subdomain use this code inside the subdomain not in the main root folder just in the subdomain folder.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.subdomain.yoursite\.com$ [NC]
    RewriteRule ^(.*)$ http://subdomain.yoursite.com/$1 [R=301,L]

Similar Threads

  1. Google Authentication
    By aroopsharma in forum Questions & Comments
    Replies: 0
    Last Post: 01-23-2012, 01:26 PM
  2. Help user authentication
    By voxxxlll in forum Questions & Comments
    Replies: 7
    Last Post: 01-03-2011, 06:05 PM
  3. Requiring authentication
    By verbalicious in forum Questions & Comments
    Replies: 9
    Last Post: 09-01-2010, 06:21 AM
  4. Does not recognize the language file
    By salar in forum Questions & Comments
    Replies: 3
    Last Post: 11-06-2009, 05:35 AM
  5. Special caracters (é á ã) are not recognize in categories
    By lipsmega in forum Questions & Comments
    Replies: 0
    Last Post: 03-25-2009, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting