View Full Version : Logging in but shwoing as not logged in after moving forum to new domain
saini1987
11-17-2013, 11:42 AM
Recently i moved my forum from whangout.com domain to http://WebmasterForumUK.com
And now i am facing logging in problems.
I tried uploading vbulletin files again to the server and also tried via hidemyass proxy but the problem is still there...
You can try via a test account, using following details:
Username: Test
Password: test
Shall i open a support ticket for this..?
ozzy47
11-17-2013, 11:52 AM
Seems like it is only a issue when viewing the home page, when viewing a forum, it shows you as logged in.
--------------- Added 1384692856 at 1384692856 ---------------
Also if you refresh the home page, it will show you logged in.
saini1987
11-17-2013, 12:01 PM
How to fix this then..?
Shall i open support ticket?
ozzy47
11-17-2013, 12:09 PM
Check your settings in, Site Name / URL / Contact Details
saini1987
11-17-2013, 12:12 PM
The settings are ok there.....
ozzy47
11-17-2013, 12:16 PM
Maybe something in your htaccess file?
blind-eddie
11-17-2013, 02:18 PM
It could be a www issue... meaning, are you logging in with www.yoursitenamedotcom or just yoursitenamedotcom. This has always been an issue for most.
saini1987
11-19-2013, 02:44 PM
I am using without www, now what to do?
even on mobile I am facing the above problem....
ozzy47
11-19-2013, 04:09 PM
Did you check what's in your htaccess file?
saini1987
11-19-2013, 04:15 PM
yes I checked but nothing serious......
please help to fix it asap.
saini1987
11-21-2013, 03:59 AM
Anyone here please help me to solve this problem please.....
blind-eddie
11-21-2013, 04:21 AM
Check in vboptions/Site Name and URL, make sure all is correct.
BACKUP YOUR .htaccess file before you edit it
Check your .htaccess file for the following. Add this if it does not have it.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]
I tried logging in with and without WWW without success on your site with the test account you posted.
--------------- Added 1385011625 at 1385011625 ---------------
IN vboptions, Site Name & URL, remove WWW, that should correct your issue.
saini1987
11-21-2013, 05:32 AM
The htaccess file has following content:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
Where to add that code, eddie ?
--------------- Added 1385016016 at 1385016016 ---------------
Have edited the htaccess and removed the www...but now firefox is saying:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
--------------- Added 1385016572 at 1385016572 ---------------
This is the htaccess now:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
RewriteEngine On
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
--------------- Added 1385024870 at 1385024870 ---------------
I have also noticed that this problem is coming on index page......is there anything wrong in index.PHP?
blind-eddie
11-21-2013, 10:32 PM
In vboptions, Site Name & URL, are you using www? If so, remove it.
saini1987
11-22-2013, 11:47 AM
When i added that .htaccess code and removed www in site url, i was getting error in firefox that :
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
In chrome the error was:
The site has a Rediretion loop
After that i restored the last htaccess file and added www in site url in vb options...
Eddie, Please tell me a better solution, if possible can we have a team viewer session please..?
blind-eddie
11-22-2013, 01:07 PM
Don't remove www from the .htaccess, that needs to stay.
In your admincp/vbulletin options/Site Name & URL, you are using www in the URL, remove www.
saini1987
11-23-2013, 03:02 AM
I haven't removed www from htaccess, i had removed it from vbulletin options>>site url
Can you tell if this htaccess code is ok:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
RewriteEngine On
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
--------------- Added 1385179787 at 1385179787 ---------------
Now i have removed www from vbulletin options>>site url
and have this code in htaccess file:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
RewriteEngine on
#RewriteBase /
RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
And the site showing this message in firefox:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
--------------- Added 1385180314 at 1385180314 ---------------
Eddie is offline,
Why no vbulletin official replying here? I was told in the ticket that i will be helped on the forums.....
blind-eddie
11-23-2013, 03:35 AM
It all looks good and will work fine as soon as you delete your cookies & edit your shortcut to your site on your desk top removing www from it.
I have no issues using FF or IE logging in and out.
saini1987
11-23-2013, 03:42 AM
So it will not work with WWW...?
--------------- Added 1385181872 at 1385181872 ---------------
its not working and giving the same error on firefox....
I deleted the cookies and tried to hard refresh ctrl+f5 but that redirection error is still coming...
blind-eddie
11-23-2013, 03:47 AM
It will work with both but will redirect to site without www.
Check your navbar template to see if you used full URL in links & remove www from them, in fact search all templates & remove www if you have it in them.
saini1987
11-23-2013, 03:49 AM
But i am getting this error on main page: http://webmasterforumuk.com
when i add /index.php to the url means http://webmasterforumuk.com/index.php it works...
The users are also reporting this redirection error....
--------------- Added 1385182732 at 1385182732 ---------------
Now even opera mini giving this error:
This webpage has a redirect loop
Please give a solution that the site won't show this error to users...
--------------- Added 1385188258 at 1385188258 ---------------
The site is still giving error.....can you please tell me what to do ..?
--------------- Added 1385199276 at 1385199276 ---------------
I asked about this from the host and they added the following code extra:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Now the htaccess file is like this:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
RewriteEngine on
#RewriteBase /
#RewriteCond %{HTTP_HOST} ^webmasterforumuk\.com$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.webmasterforumuk\.com$
#RewriteRule ^/?$ "http\:\/\/webmasterforumuk\.com\/" [R=301,L]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|api\.php)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Means two redirection codes....
--------------- Added 1385200505 at 1385200505 ---------------
Eddie,
I added
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^canadianwebmasters\.com [NC]
RewriteRule (.*) http://www.canadianwebmasters.com/$1 [L,R=301]
to htaccess and now the domain is redirecting from non-www to www which want.
Is it ok?
saini1987
12-13-2013, 04:08 PM
problem solved by host. Now you can login logout without any problem
many thanks to blind-eddie who help me a lot.
--------------- Added 1386990115 at 1386990115 ---------------
now they replied that
We had only deleted the session files from the corresponding "session.save" , we had not made any other changes. We had checked and verified that there is no issue with session save path with these domains. So please contact the vBulletin support team to fix this issue, because we do not have much support on application.
means the issue is with vBulletin. please the officials reply here. please.
--------------- Added 1386993378 at 1386993378 ---------------
The problem again started on the forum lol.
I have turned "Add No-Cache HTTP Headers" option to "yes". Is it wise to turn this option yes? The other forum users don't have this option turned on to save bandwidth but i have to turn it on to make my site working fine. Is it wise to turn it to yes? Officials reply.
BirdOPrey5
12-14-2013, 09:47 AM
"Official" support is provided on www.vbulletin.com/forum/ and the first step will be to deactivate VBSEO and rename the .htaccess file to something else to see if you still have the problem. VBSEO will need to stay disabled while trouble-shooting.
ShawneyJ
12-14-2013, 01:14 PM
to me it looks all wrong while using vbseo.
try this mate!
completely remove all your .htaccess and add (copy and paste) all this:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /
#RewriteCond %{HTTP_HOST} !^www\.webmasterforumuk\.net
#RewriteRule (.*) http://www.webmasterforumuk.com/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
next make sure in "Site Name / URL / Contact Details" look like in attachment below all with www.
and last...i use this small addon which works a treat when i was using vbulletin. i would give it a go mate, its awesome. https://vborg.vbsupport.ru/showthread.php?t=222898&page=4
I have turned "Add No-Cache HTTP Headers" option to "yes". Is it wise to turn this option yes?
IMO no. but if you find your forum slower loading posts turn it back off.
its the only thing i can come up with to fix this issue.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.