Author Topic: log outing automaticaly  (Read 875 times)

proman2008

  • Beginner
  • *
  • Posts: 35
log outing automaticaly
« on: January 13, 2011, 23:12:01 pm »
HI all

strange thing happens

when I first time open the page and log in and pressing the category the page automatically logs me out.

and again I have to log in to the page

what is wrong can you help

plzzzzzzzzzzzzzzzzz

zorkhh

  • Advanced
  • Jr. Member
  • *****
  • Posts: 245
    • vm-expert.com
Re: log outing automaticaly
« Reply #1 on: January 14, 2011, 08:24:09 am »
Please check the browsers addressbar when this happens. Does it change from yourdomain.tld to www.yourdomain.tld (or other way round)? If so, this is set in the virtuemart configuration.

The best way is to make sure that the page is always loaded the same way (some say this is also important because of Google duplicate content). Create a .htaccess file in the root directory (or edit the existing) and add this code right after "RewriteEngine On" (if you create a new .htaccess, this has to be added also)

Code: [Select]
RewriteCond %{HTTP_HOST} !^www.yourdomain.tld$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.tld/$1 [L,R=301]

and set the virtuemart configuration to http://www.yourdomain.tld.
Virtuemart Professional Support at http://www.vm-expert.com

Visit the large Virtuemart Group on Joomla.org: http://people.joomla.org/groups/viewgroup/30-Virtuemart.html

proman2008

  • Beginner
  • *
  • Posts: 35
Re: log outing automaticaly
« Reply #2 on: January 16, 2011, 21:50:42 pm »
zorkhh

thank you for reply.

no nothing is changed in the browser,

just of one the first click on category logs me out