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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How to remove Default.aspx from url http://www.pdnseek.com/Default.aspxHow to remove Default.aspx from url http://www.pdnseek.com/Default.aspx
Previous
 
Next
New Post
5/10/2011 9:37 AM
 
I have put  code to redirect nonwww to www in web.config.  
    
  When you will put this http://pdnseek.com it is getting redirected to http://www.pdnseek.com/Default.aspx  
    
  But i want when anybody put http://pdnseek.com it should redirect to http://www.pdnseek.com/ without Default.aspx     
    
  When i am putting this http://www.pdnseek.com it is getting   
  redirected to http://www.pdnseek.com/Default.aspx and when i click on home page it is coming like http://www.pdnseek.com/.     
    
  Pls help me how can i get rid of this Default.aspx from the url  http://www.pdnseek.comDefault.aspx. Default.aspx should not come while redirecting from non www to www and should not come on the click of logo and home page as well.  There should be only one link for home page and logo click and that should be http://www.pdnseek.com
    
    
  Pls let me know how can i get rid of this Default.aspx from the url  http://www.pdnseek.com/Default.aspx. I need like this only http://www.pdnseek.com for SEO prospective.
    
  Pls help me pls.   
    
    
  I have put this code and one dll -- UrlRewritingNet.UrlRewriter.dll  
    
     <urlrewritingnet  
    rewriteOnlyVirtualUrls="true"  
    contextItemsPrefix="QueryString"  
    defaultPage = "default.aspx"  
    defaultProvider="RegEx"  
    xmlns="http://www.urlrewriting.net/schemas/config/2006/07" >  
      <rewrites>  
        <add name="KickIt"  virtualUrl="^http\://pdnseek.com/(.*).aspx"  
    rewriteUrlParameter="ExcludeFromClientQueryString"  
    destinationUrl="http://www.pdnseek.com/$1.aspx"  
    redirect="Domain"  
    redirectMode="Permanent"  
    ignoreCase="true" />  
      </rewrites>  
    </urlrewritingnet>
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How to remove Default.aspx from url http://www.pdnseek.com/Default.aspxHow to remove Default.aspx from url http://www.pdnseek.com/Default.aspx


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