Here are some scenarios when DNN Redirect will help:
Redirect After Login
Say that after a user logs in, you want to redirect him based on his
role: Subscribers should go to My Subscriptions page
and Service Providers should go to My Services page.
Easiest way to accomplish this is have a redirect page with a
DNN Redirect module on it. In User Settings, you set that all users
should be redirected to the redirect page after login. Then, in
DNN Redirect settings you add rules for each role accordingly. Furthermore,
you can let other role types follow old logic - that is you can specify
a GET parameter that contains an Url to which users will be redirected.
In this scenario, you'll set DNN Redirect to read the returnurl
GET Parameter of the previous page (the Login Page) and
redirect there.
Restrict access to certain
pages
Usually, you can restrict access to a page but that would redirect
unauthorized users to Login page. If placed on that page, DNN Redirect
allows you to redirect certain roles to any page, while allowing others
that don't match any rule to access the page.
Web Wizards
If you have a wizard with many pages and the flow doesn't happen all at
once, DNN Redirect can help you trace which step each user should be on.
Trick is on each step you alter user roles, let's say we hove two roles
for two steps: Step1 role and Step2 role. Then, on each step you add a
DnnRedirect module that redirect Step1 roles to first page and Step2
roles to second page. If role is on the right page, then there should be
no rule for that role so access will be permitted.
Dynamic Redirect
Say you have a role that you want to redirect automatically after login
to the latest article. DNN Redirect integrates with MyTokens, so all you
have to do is define the token that retrieves latest article the use it
in the Url rule for that role. The url will look something like this:
/Articles.aspx?id=[LatestArticle:Id])
These are just a few examples, there are a lot more things you can do
with DNN Redirect.
And for even more applicabilities make sure to also check Redirect Toolkit.
Go to DotNetNuke DNN Redirect Homepage
|
|