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 ...How to set a sibling portal to become the default portal?How to set a sibling portal to become the default portal?
Previous
 
Next
New Post
3/9/2017 9:59 PM
 
With DNN 9+, I may have 2, 3 or 4 sibling portals with custom content within each one. In the event that I would like to to have one of these sibling portals now become the default portal for the whole site, is there a DNN switch or coding process that allows me to do that?

Thanks for any insight!

 
New Post
3/10/2017 3:52 PM
 
"Portals" in DNN are sites. So, there's really not a concept of a default portal. All are equal, and each has it's own URL.

There is the concept of parent and child portals. In this situation, all of the portals share a URL, so you would have:

http://mysite.com (the parent)
http://mysite.com/child1 (a child)
http://mysite.com/child2 (another child)

Is this what you want to do?



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
3/10/2017 4:18 PM
 
Correct and very close. And I apologize for lack of clarity, Lets say this was my current setup in DNN

www.my-site/
www.my-site/parentStage
www.my-site/child1
www.my-site/child1Stage

I want to
(1) switch www.my-site/parentStage to www.my-site/
(2) switch www.my-site/child1Stage to www.my-site/child1


i basically want my staging portals to be a place where I can work on things "coming soon". And once they are ready, go ahead and make the portal public to the world with the production URLs (i.e. www.my-site/ and www.my-site/child1)

I would then make take the portals that were public and make them my new staging portals.

Is this possible in DNN?
 
New Post
3/10/2017 4:25 PM
 
If I understand, I think that you can do what you need to do just by changing the portal aliases.

This will probably be a little tricky as you will get errors if two sites have the same portal alias (url). You'll have to change one to an intermediate while you change the other one.

Also, take a look at the portalalias table so that you can get a more direct view of how this is handled.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
3/10/2017 4:27 PM
 
Understood and thanks for the head start on what to try. I'll give it some testing. Much appreciated.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to set a sibling portal to become the default portal?How to set a sibling portal to become the default portal?


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