-
Hi,
I’m having a problem with the plugin. If I log in at http://smashpress.se/profile/login/ (try login with ‘user:demo pass:demodemo1). Then go to the Startpage (Startsidan) and then click on one of the posts, I will automaticly get logged out for some reason. If I go to one of the posts using a direct link, this will not happen, but only when using a link via the startpage.
Any ideas? Thanks.
This is very strange. After further research, I’ve tried and noticed following:
– Tried deactivate all other plugins and change the theme back to default ‘twentyfourteen’, problem remained.
– Removed & reinstalled the plugin in completely, problem remained.
– Tried the website in Chrome instead of Firefox and the problem did NOT remain! So I tried to reinstall firefox completely (removing all add-ons in process), and restarted my computer, but the problem still remained in Firefox.I can’t replicate this issue here. ๐ There’s no auto logout code anywhere in userpro. That could be a problem with your browser. Does anyone have a similar issue?
I managed to fix the problem by adding ‘www’ to adress in wordpress settings. Still not sure what caused it, but I suspect it being some kind of cookie related problem rather than a problem with the plugin (or wordpress in general).
Anyway, thanks for checking ๐
The problem came back, but I’ve seem to found a permanent solution now on another site, so I thought I share it if someone else is having the same issue.
this is the issue because of the Mozilla’s Cache Management
Actually the thing is that wp create meta tag for next and prev. link and to make your performance batter Mozilla Preload Next post which might be the issue you are facing try below code that might help you to resolve the issue
remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’);
Add the above line in your functions.php file and this might solve your issue
Thanks a lot! This is a very helpful tip for anyone having the same issue
Thanks a kazillion RaffHaff for sharing – I had the same problem which was solved with your fix
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');
I’m sure you just saved me hours of investigation. Much appreciated ๐ !
P.S. Small detail. Make sture that apostrophes are correct when pasting
This is the fix already! Right ๐
remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’);
Yes it’s RafHaf’s fix, I just reposted in code box, because if you copy from outside code box your theme changes apostrophes to ยด and code won’t work ๐
You must be logged in to reply to this topic.