Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Creating a Login URL using friendly URLCreating a Login URL using friendly URL's
Previous
 
Next
New Post
11/18/2008 10:43 AM
 

I have a couple clients who don't want the login control on the site (don't ask me why.) Here is one way to create a login URL:

Go to the Host settings and expand the Friendly URL Settings.

Modify  Rule one of the current rules:

  • Original Match
    • [^?]*/TabId/(\d+)(.*)
  • New Match
    • [^?]*/TabId/(\d+)(.*)/default.aspx

Add New Rule

  • Match
    • .*/TabId/(\d+)(.*)/Login.aspx
  • Replace With
    • ~/Default.aspx?TabId=$1&ctl=Login&returnurl=%2fdnn%2fHome%2ftabid%2f$1%2fDefault.aspx

To Use: go to any page.  
Make sure that the URL has the tabID in it.
i.e.  Correct: http://clickandcreate.us/Home/tabid/102/Default.aspx
      Incorrect: http://clickandcreate.us
Change "default.aspx" to reade "login.aspx"
Your link will look like:
     http://clickandcreate.us/Home/tabid/102/Login.aspx
This will let you login and the redirect you to the current page.

Note there is already a rule for logging out: ".*/TabId/(\d+)(.*)/Logoff.aspx"  This take a URL in the form of:
      http://clickandcreate.us/Home/tabid/102/Logoff.aspx
and automatically logs the current user out.


Eric Shafer
Houston Web Designer
Click and Create

281-206-2631
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Creating a Login URL using friendly URLCreating a Login URL using friendly URL's


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out