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 ...Child Portal not behavingChild Portal not behaving
Previous
 
Next
New Post
7/7/2010 2:39 PM
 
We have the following scenario using schooldistrictsite as an example.

Primary Portal running as schoolDistrictSite
Sub Portal running as highschoolSite

Our sub portal has the following portal aliases
schooldistrictsite.com/highschoolsite
www.schooldistrictsite.com/highschoolsite

When we browse to schooldistrictsite.com/highschoolsite we get redirected to schooldistrictsite.com/Default.aspx?alias=schooldistrictsite.com/highschoolsite as expected...

The problem arises when we begin to navigate through the site... If we try to click on the about us page, the URL reads schooldistrictsite.com/highschoolsite/SchoolInfo/About.aspx and the page is displayed... but any subsequent click result in a "The resource cannot be found." error... and the sub portal "folder" get's removed from the url resulting in schooldistrictsite.com/SchoolInfo/Classes.aspx (notice the dropped /highschoolsite/)

Why is the sub portal "folder" getting dropped out of the urls after the first initial click into the site?  Am I missing something?  

Typically Sub Portals would have their own domain pointed to them, but in this case, it is not needed.

Any help wold be greatly appreciated.

Thanks in advance.
 
New Post
7/8/2010 9:45 AM
 
Take a look at the rendered code in the browser to see what HTML is being sent.  Make sure you're linking to the correct page in your portal.  Check any URL rewriting you may be doing, friendly URLS, URLMaster, etc.

Jeff
 
New Post
7/8/2010 9:52 AM
 
Generally if you get into a situation where all the generated links ( menus  breadcrumbs etc)  are incorrect is because the wrong portal alias has been identified by the request, and so all the links are pointing in the wrong place.

I haven't seen this problem myself, but my first place to check would be the list of portal aliases for both the parent and the child portal.  I would enter the example.com and www.example.com entries for the parent and the example.com/child and www.example.com/child for the child portal. 

You can also do a roundabout check on this by including a &portalid=x with the request to see if that helps bring up the right links (by explicitly specifying the portal).  This would be just to check if it's the wrong portal being identified that is causing the issue.  With parent portals/ child portals, it's easier to get into trouble because the Url Rewriting has to determine the portal based on the domain name, and in this type of situation they look very similiar.
 
New Post
7/8/2010 11:45 AM
 
Thank you for your replies.

Jeff, I've checked the source code and when the visitor first get's to the aliased portal, the link to the home page is as follows.
(To continue using my "school" example)

http://www.schooldistrictsite.com/highschoolsite/home.aspx

If I click on the home link, and then view the source again, the link to the home page changes to the following.

/Home.aspx

Which directs the user to the home.aspx page of the Root portal.


Bruce,

I've checked and all portals have aliases for www & non www.  I also tried the trick to add the portal number as a parameter to the end of the url, but I receive a "Object reference not set to an instance of an object." error.

The portal is using human friendly URLs if that helps the diagnosis.

Thanks again.

 
New Post
7/8/2010 11:51 AM
 
Has this ever worked since the portal was created? Have you tried creating a test portal to see if the behavior is consistent?

Jeff
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child Portal not behavingChild Portal not behaving


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