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

mithy’s picture

Status: Active » Closed (duplicate)
Berliner-dupe’s picture

Thanks 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.

mithy’s picture

Status: Closed (duplicate) » Active

So 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.