I have a content type Business, When a user creates a business and then signs into the site, I have a link called "my business" that when the user clicks on i want it to take them to only their created business.

Not sure what to "link" too for this to happen.

2 Answers 2


You can link to a view, that filters the content type Business and the current user.

This is a similar question for D7, I think both solutions provided there work in D8 the same way:

Filtering on node whose user ID is equal to the current user


If you create a custom module you can either use hook_user_login() or a custom user login form submit handler (see the answers to this question) to conditionally redirect the user.

You can get their most recently created Business node using an EntityFieldQuery and redirect them to that using either of the above approaches.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.