hpidriver Member Licensed customer Nov 13, 2014 #1 I'm logged in at https://mysite.com/forums/admin.php but when I click the link at the upper right to take me back to the main forum homepage I'm no longer logged in. Is this normal behavior or should I change something? Thank you
I'm logged in at https://mysite.com/forums/admin.php but when I click the link at the upper right to take me back to the main forum homepage I'm no longer logged in. Is this normal behavior or should I change something? Thank you
Chris D XenForo developer Staff member Licensed customer Nov 13, 2014 #2 Is the link in the upper right corner different, in any way? e.g. is it https://www.mysite.com/forums or http://www.mysite.com/forums/? It's most likely related to the Board URL setting in the Admin CP > Options > Basic Board Information. Upvote 0 Downvote
Is the link in the upper right corner different, in any way? e.g. is it https://www.mysite.com/forums or http://www.mysite.com/forums/? It's most likely related to the Board URL setting in the Admin CP > Options > Basic Board Information.
hpidriver Member Licensed customer Nov 13, 2014 #3 The link is https://mysite.com/forums/ it follows the same scheme as the admin page. My board URL is set to https://www.mysite.com/forums If I add the www on the admin.php page the results are still the same. Upvote 0 Downvote
The link is https://mysite.com/forums/ it follows the same scheme as the admin page. My board URL is set to https://www.mysite.com/forums If I add the www on the admin.php page the results are still the same.
Chris D XenForo developer Staff member Licensed customer Nov 13, 2014 #4 Change the board URL to https://mysite.com/forums/ (so without the www. at the beginning) and see if that solves the problem. Your browser considers the two URLs to belong to different sites, hence why you are no longer logged when you navigate between them. But, it's still best to resolve that issue by redirecting to the correct URL: https://xenforo.com/community/threads/my-htaccess-file-to-redirect-non-www-to-www.8232/ Upvote 0 Downvote
Change the board URL to https://mysite.com/forums/ (so without the www. at the beginning) and see if that solves the problem. Your browser considers the two URLs to belong to different sites, hence why you are no longer logged when you navigate between them. But, it's still best to resolve that issue by redirecting to the correct URL: https://xenforo.com/community/threads/my-htaccess-file-to-redirect-non-www-to-www.8232/
hpidriver Member Licensed customer Nov 13, 2014 #5 I had put the following in my config file so I thought that would prevent the problem from happening. Should I change something here? Code: $config['cookie'] = array( 'prefix' => 'xf_', 'path' => '/', 'domain' => '.mysite.com' ); I'll try the two suggestions you gave and see if that solves things. Thanks. Upvote 0 Downvote
I had put the following in my config file so I thought that would prevent the problem from happening. Should I change something here? Code: $config['cookie'] = array( 'prefix' => 'xf_', 'path' => '/', 'domain' => '.mysite.com' ); I'll try the two suggestions you gave and see if that solves things. Thanks.