I have a Joomla 1.5 website that has a problem - when you login, it doesn't log you in and says "Your session has expired. Please log in again." as a blue error message. However the page it is on is titled "Registered Area" and then says "Welcome to the registered user area of our site.".

I go through the cart and the details are not logged in so you have to login again, and it works.

Why is this? I haven't done anything to the site recently.


1 Answer 1


I created an .htaccess file to overwrite the URL so "www." is always at the beginning of the URL. Otherwise it went wrong.

Code for the file:

RewriteEngine On

RewriteBase /

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.