Please Log in to join the conversation.
That wasn't a really strong first post but we'll give you the benefit of the doubt. You didn't mention if you tried any of the suggestions posted in this thread. It's not like it's a really long thread so you don't have the excuse that you didn't feel like reading through the whole thing. Regardless, you can either try the code fix I recommended which is a dynamic fix that will work even if you change subdomains / redirect domains / etc. Or try someone else's code fix (which I haven't tested). And the other option is to do an htaccess redirect - which doesn't work on non-Apache boxes. I happen to be running Joomla and CB on my own box which is running IIS which is why I had to come up with the code fix. If you are with shared hosting, you are probably on Apache and if you are running a VPS or dedicated server you should know what web server software you are running.I too, am having a problem with this.
Joomla 1.0.13
PHP Version: 4.4.7
Web Server: Apache/1.3.37
Now, to be clear, my users are able to login. All they have to do is go to the correct style. As long as you are the site.com version and not the www.site.com then you are logged in. Even if you login with www., you can still access the site if you THEN switch to site.com.
So pretty much I've instructed them to click on the home link after they login. It's annoying though and I know not all of them are understanding that.
Please Log in to join the conversation.
4) As I mentioned in my original post, it's Apache.I happen to be running Joomla and CB on my own box which is running IIS which is why I had to come up with the code fix. If you are with shared hosting, you are probably on Apache and if you are running a VPS or dedicated server you should know what web server software you are running.
Please Log in to join the conversation.
Sorry if my reply came across as rude - I didn't mean it that way. I understand that a lot of people have limited time to work on their side projects but that also means that those of us who are trying to provide some support (for free) are even more limited in time in working on our own projects.1) I'm doing most of this work on my lunch breaks, so I appreciate the 'benefit of the doubt.' I don't have a lot of time to work through much. I did however read through the whole post, which leads me to 2...
I'm sure the developers and the rest of us appreciate you adding to the thread, but the disgruntled-ness of my orignal reply came from the lack of details as to what fixes you had tried at the time. Again, I apologize if that came across wrong.2) I noticed that there are plenty of people on here still having problems and the fixes aren't working. So the purpose of my post was more along the lines of adding to the people who are having problems with this feature so as to give more credence to the issue.
Did you apply them at the same time? It's hard for me to know exactly which caused the problem if they were both applied at the same time. Also, as I mentioned above I don't recommend the $loginpost hack (but then again I wrote my own more permanent fix).3) I tried both the .htaccess fix (which ended up making the site unavailable all together when using the www. maybe I'm doing it wrong....) and the $loginPost fix which seems to have done nothing at all.
Sorry I didn't provide clarity to my point. I was trying to explain why I had to come up with the fix and was trying to make a point to other users that might be reading along or find this post in the future. It is clear that you are running Apache and hopefully we can get the htaccess fix working for you.4) As I mentioned in my original post, it's Apache.
It's essentially the same as the htaccess fix in the updated first post but has one extra option in it and is an example in the direction you want to go (eg. www redirected to non-www) if I read your post correctly.Thanks for the followup Joshua. I have not yet had a chance to read your article as lunch is over and I gotta go back to dealing with frustrating fork-tongued legislators. However, I'm going to look further into that option to see if maybe I typed something wrong or something.
If you post your htaccess file or send it to me (my e-mail is on my website) I'll try to take a look at it when I have time. It really depends on how you implemented the htaccess fix and what error you got. (eg. a redirection that will never complete, invalid code causing blank page (could be the $loginpost fix done wrong or something else), etc.P.S. Is there a semi-common explanation for why using that code would cause the page to no longer open when typing the www.site.com address? It still worked with the site.com address.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.