Active
Project:
Login Destination
Version:
6.x-2.8
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2010 at 16:30 UTC
Updated:
1 Jun 2018 at 08:51 UTC
Jump to comment: Most recent
Comments
Comment #1
4ud commented@Matthias,
@all,
I have the same problem. Did you find a solution?
Regards, 4u
Comment #2
khalor commentedLogin Destination respects the
<front>token when using PHP snippet modeSo under 'Destination URL settings', set the type to 'PHP snippet' and use the following:
return '<front>';Works for me.
Comment #3
Berliner-dupe commented@4ud
Or install "Global Redirect" - when you call domain.com/node/content (your setting homepage) you will automaticly redirect to domain.com/
Comment #4
bryanzera commentedUsing
return "<front>"does not work for me, inasmuch as it redirects me to the path of the homepage ('content/homepage'), not the root of the site.Comment #5
Berliner-dupe commentedInstall Module -> "Global Redirect" ... this fix this problem.
Comment #6
avinash_thombre commentedCheck .htaccess, apache_custom.conf file, settings.php file for any re-direction code present. Comment it or create proper exception for that. Also, check for the global redirect, redirect modules and configure it properly.
In my case, local setup /user was re-directing to home page. I found this code in apache_custom.conf file.
#Redirecting non-www to www
#RewriteCond %{HTTP_HOST} ^site\.com [NC]
#RewriteRule ^(.*)$ https://www.site.com%{REQUEST_URI} [L,R=301]
Commenting this code for time being helped access the /user. Make sure the re-directs are properly placed for live environment. Hope this helps.