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 ...Override URL on solpartmenuOverride URL on solpartmenu
Previous
 
Next
New Post
10/20/2009 8:18 AM
 

My SEO guru has told me that the "Home" link on my menu should point at http://MyDomain rather than pointing at http://MyDomain/Home.aspx or pointing at http://MyDomain/LotsOfGubbins as it currently does depending on whether or not I switch human friendly URLs on.

I managed to make this change by altering the solpartmenu.vb file to intercept and alter that particular URL when it is being built for the page and my source-code change works on my (old) test server but on the live site at the data-centre making the same alteration had no effect. I think this *might* be because the live site is running from a solpartwebcontrols.dll (just a theory, could be nonsense) so it never sees my source alterations. I'm a bit nervous that rebuilding that dll on my test server and shipping it to the live site might have nasty consequences.

Does anyone know an effective means of going about altering the URL on the menu?


Tom McClelland
 
New Post
10/20/2009 7:18 PM
 

Hi Tom

This is a self-plug but will solve your problem for you, so I hope you don't mind.   I have a product called Url Master which, amongst many other things, displays a correct 'http://mydomain' for the home page rather than displaying /home.aspx or, as you put it /lotsofgubbins.aspx.

While you can probably hack around with the solpartmenu and change the setting, you'll still get the problem popping up elsewhere, like in the logo skin control, the breadcrumbs skin control and anywhere else the Urls for the home page are automatically generated.

The Url Master module is a straight replacement for the standard DNN Friendly Url Provider, and handles all Url generation for your site.  That way, wherever the Url for the home page is generated, you'll just get the site root value (note : you need to set the homepage in the 'site settings' page for this to work).

As a side bonus which your SEO guru will like, all of the old '/lotsofgubbins.aspx' urls can be automatically redirected back to the correct, shorter and more friendly urls so that any variations on your existing home page url (DNN actually has about 6 different urls that all point to the home page) will be redirected back to the site root Url.  This also happens for any other pages already indexed with the 'old style' DNN urls.

There's lots of other SEO focused features as well, you can download a free trial version at http://www.ifinity.com.au/Products/Url_Master_DNN_SEO_Urls

regards

Bruce

 
New Post
10/21/2009 2:48 AM
 

Hello Bruce, There is nothing wrong with self-promotion when it is a useful answer to the question asked.

Thanks for replying. I'll take a look at your product. It sounds as if it might be just what my SEO wants.


Tom McClelland
 
New Post
10/22/2009 9:48 PM
 

Sure Tom, glad to help.  Make sure you contact me via my site if you have any questions or problems.  Sadly, I don't always get the time to read the DNN forums!

 
New Post
10/23/2009 6:50 AM
 

Tom

I'll give Bruce's product a plug as well. We use it on our site and encourange all our users to invest in it as well.

Simon

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Override URL on solpartmenuOverride URL on solpartmenu


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