| Joomla! http://forum.joomla.org/ |
|
| User login problem http://forum.joomla.org/viewtopic.php?f=32&t=120946 |
Page 1 of 1 |
| Author: | ironcross77 [ Fri Dec 08, 2006 5:57 am ] |
| Post subject: | User login problem |
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 |
|
| Author: | NealeD [ Fri Dec 08, 2006 7:18 am ] |
| Post subject: | Re: User login problem |
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 |
|
| Author: | sapromo [ Fri Dec 08, 2006 8:41 am ] |
| Post subject: | Re: User login problem |
![]() 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 ... 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!!! |
|
| Author: | sapromo [ Fri Dec 08, 2006 10:42 am ] |
| Post subject: | Re: User login problem |
![]() 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.
|
|
| Author: | leolam [ Fri Dec 08, 2006 11:32 am ] |
| Post subject: | Re: User login problem |
nope, rting has nothing to do with it.you neede to change the url and you will be indexed again............... cheers Leo |
|
| Author: | NealeD [ Fri Dec 08, 2006 2:47 pm ] |
| Post subject: | Re: User login problem |
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 |
|
| Author: | sapromo [ Fri Dec 08, 2006 3:39 pm ] |
| Post subject: | Re: User login problem |
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. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|