xdDesign Blogs
  • Latest News
  • Skill Set
  • Portfolio
  • DotNetNuke
  • Contact
Home » Latest News » DotNetNuke » Using names instead of numbers in your portals

CustomiseYourPortalNames01 Lots of DotNetNuke users and marketers choose the option of having a child portal setup in their installation.  It could be a full url – eg.. an new domain name, or a true child portal – eg… domain.com/mychildportal  or a subdomain setup – eg… mychildportal.domain.com.

If you use the 'child portal' option then a folder with a default.aspx file is created which is the name of the portal, but unless you customise it, it generates another number which is incremented with each new portal created.

If you use the full domain, or the subdomain method of creating another portal, no folder is created in the root directory but but it still increments numerically under the Portals/ folder. 

Now, if you've only got one or two, it's not so bad, but if you've got quite a few, remembering who belongs to what can be somewhat frustrating and time consuming.

SubDomain or Parent Portal layout – in root directory -
but check out the portal numbers on the left  <<<<<

CustomiseYourPortalNames02A 

Too many to remember and sift through when wanting to quickly identify portals

 

 

Typical Example of Multi Child Portal folder structure

Child Portal setups can make your root folder look messy Numerical Portals names can be hard to remember

But you don't have to use this option all the time – and you can create your own folder names when creating the new portal, and here's how you do it.

Full domain or Sub Domain Default Setup

CustomiseYourPortalNames02

To setup the Full domain or Sub Domain setup you'll need to make sure in IIS or your DNS entry you have allowed a wildcard or pre entered the subdomain in IIS or it will come up with a 'Page cannot be displayed' in your new DotNetNuke portal. 

If this occurs, just add to IIS manually and the site will appear. If I'm in a hurry, I confess I've been known to setup the portal, letting it go to a "page cannot be displayed" error and then adding to IIS after.  I know it's a bit arse about but sometimes even I don't get it perfect first time.

Child Portal Default Setup

Default DotNetNuke Child Portal Setup

In this situation, you can see the URL is already created – it's using the initial parent portal, that's where you get the alias address in the address bar which I think looks simply horrible.. and if you have virtual directories in the first place, (which I really prefer NOT to use) then it's not going to be so successful to use.

Let's look at some more 'busy' folders and see how unwieldy your DotNetNuke installation can be if your memory isn't that good, your life is busy or you don't have some way of isolating your portals.  I have a structure that works for me, but for those who aren't used to hosting versions of DNN from 1 >> 4, they might find it initially overwhelming, however, for me, it's very quick to find all my sites, portals, clients, and manage them. I guess how we do things is dependent upon our existing needs.

Here are two examples of the folder structure of a typical Parent and Child portal setup and you can see how confusing it can be to identify which portal goes with what.  If you use FTP to upload files to the site, you'll appreciate how much time it takes to identify each portal.

Custom Parent Portal / Full domain/ Sub Domain setup – Click CUSTOMISE

type in the same name as you have for the subdomain or full domain (but without the .com bits on the end of course)

Custom Parent Portal setup

When the portal is created – it will be nice and easy to identify what belongs where – it's all about streamlining your DotNetNuke business and goodness me, we could all do with some extra moments in our day!

Custom Child Portal Setup – Click CUSTOMISE

So I don't get any typos – I copy the text in that box before I click customise – I then type in the same name as the child portal – so when the site is created, the child portal will automatically display Portals/childportalsample instead of the incremental numbering.

DotNetNuke child portal example

Outcome

Easy to identify folders –

Easy to identify folders

 

But if you think it's hard to follow today, spare a thought for this DNN1 portal  – with about 70 children attached to it.

Old DNN1 folder structure

I have a more extensive video on xd.com.au if you want to learn more – you need to be registered – its a 26mb file. While it was created for an earlier version of DNN the references are the same.

video on XD.com.au

 

 

In summary

  • When creating parent portals / sub domains / full domains – make sure dns is setup first
  • When creating portals, remember to copy the folder details as when you click 'customise' it disappears
  • For convenience and best practices, use the same name as the portal for the folder name

I hope you have learnt a little about this interesting topic.

Nina Meiers

 

 

Technorati tags: dotnetnuke, dnn, dnn modules, dotnetnuke management
del.icio.us tags: dotnetnuke management, dnn modules, dotnetnuke

About the author

Nina Meiers

Just another keen DotNetNuke person who spends way too much time working on DotNetNuke sites, but loves the variety and is impressed every single day with how people make a difference with their DotNetNuke websites!

Related Posts

  • Child Portals and their use in DNN
    Child Portals and their use in DNNMarch 1, 2009
  • Handling multilingual content in a CMS
    Handling multilingual content in a CMSSeptember 7, 2008
  • Skin Broke My DotNetNuke Site
    Skin Broke My DotNetNuke SiteJune 19, 2008

Popular Posts

  • Why I chose dasBlogs over DotNetNuke Blogs
    Why I chose dasBlogs over DotNetNuke BlogsJanuary 20, 2007
  • Is DNN right for graphic designers?
    Is DNN right for graphic designers?October 13, 2008
  • Feeling Protected now??
    Feeling Protected now??March 31, 2007
← DNN, SEO and all that ‘search engine friendly’ talk
New Free DotNetNuke Skin – XDNewBlue →

One Response to Using names instead of numbers in your portals

  • Michael Silva January 24, 2008

    This was great. I will be coming back to this again. Today was my first time at your site. I am glad to see other DNN enthusiasts.

    Thank you for your time training the DNN society!

    Mike

Showcase dotnetnuke 5 dnn 2 Child Portals Menus PageBlaster Upgrading DNN xdDesign nina dnn beta dnnskins Other CMS Nina's Holidays dnn seo Joomla dnn Skinning DotNetNuke nina's gems Managing DNN dnn tips Other Blogs Business nina meiers dnn challenges dnn 5 dnn 4 Comparisons Containers menu Free Skins general news Awards CATALook CMS eCommerce Installing Skins dnn 3 Import/Export new features MVP Microsoft dnn core dnn fixes I love America

Latest Posts

  • DotNetNuke 6 coming soon
    DotNetNuke 6 coming soon July 6, 2011
  • Upgraded blogs so now I can post again!
    Upgraded blogs so now I can post again! February 2, 2011

Popular Post

  • DotNetNuke 6 coming soon
  • Upgraded blogs so now I can post again!
  • RadEditor DotNetNuke Provider Skinning Tip
  • Is second rate is the best you will get
  • Moved Blogs again

Nina's Websites

  • Nina's Personal Blog
Follow Us on FacebookFollow Us on FlickrFollow Us on LinkedInFollow Us on RSS
© 2011 xd design pty ltd. All Rights Reserved
  • Latest News
  • Skill Set
  • Portfolio
  • DotNetNuke
  • Contact