Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 4:07 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: User login problem
Posted: Fri Dec 08, 2006 5:57 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Jun 06, 2006 1:46 pm
Posts: 6
When using the address http://mysite.com the users can log in fine. But when using http://www.mysite.com the login form returns the same page. I am not using any kind of url redirection.

My url address :http://www.bharat-online.com (You can login after registering only if u use http://bharat-online.com


Top
   
 
 Post subject: Re: User login problem
Posted: Fri Dec 08, 2006 7:18 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Sep 16, 2005 7:05 pm
Posts: 148
Location: Gauteng
Firstly you will need to make sure that your configuration.php has the $mosConfig_live_site path set to what you want. Either with the www or without the www.

then you need to add one of the following to your .htaccess rewrite.

if you want your $mosConfig_live_site to have the www,
Code:
########## The code to redirect mywebsite.com to www.mywebsite.com follows:
RewriteCond %{HTTP_HOST} !^www\.mywebsite\.com [NC]
RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [L,R=301]
########## End redirect section


and as follows if you don't want it to have the www
Code:
########## The code to redirect www.mywebsite.com to mywebsite.com follows:
RewriteCond %{HTTP_HOST} ^www.mywebsite.com [NC]
RewriteRule ^(.*) http://mywebsite.com/$1 [L,R=301]
########## End redirect section

_________________
http://www.ubulwembu.com
Joomla Support and Services


Top
  E-mail  
 
 Post subject: Re: User login problem
Posted: Fri Dec 08, 2006 8:41 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Sep 07, 2006 5:46 pm
Posts: 355
:D
Thank you Guys... this truly solved a problem or two for myself. Some of the users was complaining that they cannot log-in again or having problems registering and I hope this solved the issue.

10/10 :pop ... changes my site to not have www and it's working like a bomb. In the long run it's better without www as google etc browse my site without the www.

Cheers!!!

_________________
http://www.sapromo.com
http://satickets.co.uk


Top
   
 
 Post subject: Re: User login problem
Posted: Fri Dec 08, 2006 10:42 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Sep 07, 2006 5:46 pm
Posts: 355
:-[
Oeps... Problem I have.

I changed my URL to be without the www, then realised that on google bar I have rating of 3/10 (new site) but without the www I have 0/10 rating. So... I then changed the URL to with www but all my images dont show on the site.

Did I do something wrong? All the images links are without the www so if I add with www clearly it does not show. What can I do to change that or is only option to re-create the 1000's of image links on my site?

Oh,... my site http://www.sapromo.com

Thank you in advance. :-[

_________________
http://www.sapromo.com
http://satickets.co.uk


Top
   
 
 Post subject: Re: User login problem
Posted: Fri Dec 08, 2006 11:32 am 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Mon Aug 29, 2005 10:17 am
Posts: 7140
Location: Netherlands/S'pore/Bali/North America
nope, rting has nothing to do with it.you neede to change the url and you will be indexed again...............
cheers
Leo

_________________
For Specialized & Individual Support:: http://gws-desk.com
Professional Joomla Web-Development:: http://gws-studio.com
Joomla Specialized Shared & Reseller Hosting at gws-host.com


Top
   
 
 Post subject: Re: User login problem
Posted: Fri Dec 08, 2006 2:47 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Sep 16, 2005 7:05 pm
Posts: 148
Location: Gauteng
If you want to change everything to the www, just change $mosconfig_live_site in configuration.php to have the www and then change the mod rewrite in the .htaccess to

Code:
########## The code to redirect mywebsite.com to www.mywebsite.com follows:
RewriteCond %{HTTP_HOST} !^www\.mywebsite\.com [NC]
RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [L,R=301]
########## End redirect section

_________________
http://www.ubulwembu.com
Joomla Support and Services


Top
  E-mail  
 
 Post subject: Re: User login problem
Posted: Fri Dec 08, 2006 3:39 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Thu Sep 07, 2006 5:46 pm
Posts: 355
I have done so and followed your instructions to the T and still most of pictures on my website (not linked via INSERT IMAGE) linked by JCE editors Imange dont show at all. THey dont change automatically and ooi... it's ok. It's working without the www just dont knwo what it means for my google rating on http://www.sapromo.com opposed to sapromo.com.

Thanks for help.

_________________
http://www.sapromo.com
http://satickets.co.uk


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Quick reply

 



Who is online

Users browsing this forum: smicky and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group