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...Child Portal Friendly URL helpChild Portal Friendly URL help
Previous
 
Next
New Post
4/15/2009 1:56 PM
 

I have setup "HumanFriendly" URLs on my dnn 5.01 website.  It works fine for the parent portal.  However, the child portals are not all working correctly. 

On my child portal I have a tab labelled "Reporting" and a submenu page called "My Reports".  Once I enabled humanfriendly urls when I go to the page using the  menu it redirects me back to the parent portal. 

It's odd because some of the pages work fine.  Any suggestions/ideas? 

Thanks in advanced. 


 
New Post
4/15/2009 8:21 PM
 

You will have trouble with child portals and human friendly urls, because of the way the base Url Rewriter works.

If you're after child portals with proper human friendly urls, please take a look at the Url Rewriting modules available at my site : http://www.ifinity.com.au/Products/   Even if you do get the base Url Rewriter working OK with your hcild portal, you're still going to be stuck with the awful looking domain.com?alias=domain.com/child url for your home page.

 
New Post
9/23/2009 2:26 PM
 

Is there no good way to have a child portal respond at www.company.com/portal without it redirecting to www.company.com/Default.aspx?alias=www.company.com/portal ?

 

Our Search Engine Optimization vendor is making a big deal out of us changing this.

 
New Post
9/23/2009 8:57 PM
 

ctc : please take a look at the Url Master module as linked in my previous post.  You can download a trial version from here : http://www.ifinity.com.au/Products/Url_Master_DNN_SEO_Urls.

Once you install and activate this module, the child portals will appear as domain.com/childname for all of the urls in the child portal.  The software specifically looks for the alias=domain.com/childportal pattern and removes it.

 
New Post
1/4/2010 1:12 PM
 

Hi,

this is an easy trick

Find the file folder that the child portal creation made (in this case the folder would be called "child"). Inside you will find a file called "default.aspx". Open the default.aspx in notepad and look for the lines of code that say (it should be near the bottom).

            DomainName = ServerPath & "Default.aspx?alias=" & DomainName

            Response.Redirect(DomainName,True)

Remark out the response.redirect line and replace it with a server.transfer call like so:

            'Response.Redirect(DomainName,True)
            Server.Transfer(DomainName,True)

Save the file and navigate to your child portal. Now the location change happens on the server instead of the client and the result is an unchanged URL. If you want to make this change permanent to this installation of DNN and have this be the default behavior for all child portals, you can edit the subhost.aspx file in the /Portals/_default/ folder and make the edit there as this is the file that the framework uses to copy into the created folder.

from: http://www.arrownuke.com/Blog/tabid/295/EntryID/18/Default.aspx

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Child Portal Friendly URL helpChild Portal Friendly URL help


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