Instructions

In order to be able to create threads and posts you need to register first.

 

 

HomeHomeProductsProductsRedirect Toolki...Redirect Toolki...Redirect based on usernameRedirect based on username
Previous
 
Next
New Post
12/18/2011 7:14 PM
 
Hi,

Here what I am tryng to d, for a referral website.

Let's say I create a profil property like webref.

Each user has something in webref, like for exemple "johndoe".

The user can give the adress www.thewebsite.com/johnDoe to his customers.

When arriving on the website, if in the Url johnDoe is identified, the visitor is on a generic website, but he can see some specific information about JohnDoe, for exemple his phone number, image...

I guess I can do the second part with MyToken module. But what module do I have to use in order to do the first part (identifying the request by just inserting on the URL www.thewebsite.com/johndoe).

Thanks for your help.

JC


 
New Post
12/19/2011 12:46 AM
 
Hello,

If you go with URLs like www.thewebsite.com/Page.aspx?ref=johndoe then the task becomes simpler. You can use redirect toolkit to build rules against the "ref" parameter from URL.
You can make the rule Global so it executes for all requests to aspx pages.

The problem with URLs like www.thewebsite.com/johndoe is you have to URL rewrite them first so they map to an aspx page. After that the Redirect Toolkit can run as shown abobe.
The rewrite rules would look like ^(\w+)$ (this means only word characters). Rewrite to /Page.aspx?ref=$1
There are several URL rewritters for DNN.

Hope this helps,
Bogdan








Like Us on Facebook for real time feature updates.
 
Previous
 
Next
HomeHomeProductsProductsRedirect Toolki...Redirect Toolki...Redirect based on usernameRedirect based on username


See our DotNetNuke modules...