Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
after an user register on my webpage - he will automaticly redirect to node/add/profile (Content Profile).
After fill out the profile-add-form - the user redirect to his profile-page (this is made with rules).
The problem is - after the new user is comming first time to node/add/profile - Login Destination add the destination url to this. /node/add/profile?destination=user
The ?destination=user i will not have on path /node/add/profile but i dont know how can i remove this.
Can anybody give me a tip or can help me please?
Sorry for my bad english.
Regards Matthias
Comments
Comment #1
mithy CreditAttribution: mithy commentedPlease refer to #983418: Redirect from user_login_block.
Comment #2
Berliner-dupe CreditAttribution: Berliner-dupe commentedThanks but this not help. If i disable "preserve destination" the user will not redirect from nowhere correct.
If the user login from example www.domain.com/users/benny then he will redirect to www.domain.com/user but he must redirect to www.domain.com/users/benny
Only after user-register and redirect to node/add/profile (Content profile) i dont like the destination - the user will be redirect over rules after saving the content-profile correct to the profile - the destination from Login Destination i dont need by this.
Comment #3
mithy CreditAttribution: mithy commentedSo are you using Login Destination or Rules ? These modules are pretty much overlapping so please try to disable as much third-party modules (including Rules of course) and do some tests. It is possible that these two modules conflict and that's why you are getting this unexpected behavior. If that is the problem I will need the steps to reproduce from you in order to fix it. But basically you should use either LD or rules for redirecting but not both.