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 ...Home page title and urlHome page title and url
Previous
 
Next
New Post
6/19/2013 9:30 AM
 

A DNN homepage has the same properties as any other page in the site, which is unfortunate, as it is a special case page.

1) The page title: imho the home page should not have a title other than the name of the site. But in DNN, the name is mandatory, which forces me to give it a weird (as in: non-descriptive) title like 'home', 'start', 'welcome', 'intro', or (like dotnetnuke.com does) some slogan.
This gives weird results when you include the home page in the menu. (and if the homepage could have no title, there would be no text in the menu for the home page)

Is there a way to suppress the title of the homepage to be used in the html title?

2) The page URL: imho the home page should not have a url (other than the domain of the site. But in DNN the page get's its own url (derived from the page title) and when the home page is included in the menu, it refers to that url instead of just the root of the site. This causes problems with run of the mill 'highlight current page in the menu'-scripts, as the page at which the user enters the site (/) isn't recognised as the homepage mentioned in the menu (/default.aspx).

Is there a way to force that the homepage is http://mydomain.x/, not http://mydomain.x/welcome.aspx?
And can I force the url of a page instead of having it derived from the page name?

What would be the best of practice to handle the homepage?
 
New Post
6/19/2013 12:31 PM
Accepted Answer 
1)

There is a PAGE NAME. That is what will appear in the menu if the page is displayed in the menu.

There is a PAGE TITLE also known as an HTML TITLE. That is what will appear as the the title of the page in search results and in browser tabs.

2)

I am not sure about that one. I can see what you're saying though. When it's added to the menu it will be added as www.url.com/PageName I don't think there is really a good way around that.
 
New Post
6/19/2013 12:46 PM
 

In 7.1 this will be fixed and you can choose any name. http://www.dotnetnuke.com/Community/C...

 
New Post
6/19/2013 12:54 PM
 
Roland:
You can specify the page Title in the Page Settings.
When left blank, DNN builds the title automatically from the Site Title and Page Name.
 
New Post
6/20/2013 3:50 AM
 
Ah, indeed, the page title overrules the page name as html title, unfortunately it overrules the whole title, not just the page name part. So you lose that the name is nicely combined with the hierarchy and site name to form the html title.

It's not perfect, you need to change the page titles when reusing a site for multiple customers or moving pages around in the hierarchy, but for the home page it will do.


I'm glad to hear you will be able to choose the url name in dnn7.1. I wonder wether you will be able to set the name to "" for the home page and if it will work the same as the page title or respect the hierarchy in the url. We'll see.

With all 3 field page name, page title and url name, you'd be able to independently configure the html title, url and menu text. Although I wonder what the implications will be for multilingual sites.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Home page title and urlHome page title and url


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out