From what I understand, when you are doing keyword optimization for search engines (SEs), it is important to include your keyword / key phrase in the URL of your page.
But, I've also read that SEs can't read keywords / key phrases in filenames that are run together, which is the default "human friendly" configuration in DNN's FriendlyURL settings. According to the SEO experts, keywords should be separated by a hypen ("-") and/or an underscore ("_").
I was able to fix this problem for the filename itself, simply by editing the SaveTabData function of ManageTabs.ascx.vb (in /admin/Tabs) by dimming a string (strTabNameForSEOKeywords) and replacing the spaces (" ") with underscores.
strTabNameForSEOKeywords = Replace(objTab.TabName, " ", "_")
Then, I modified:
objTab.TabPath = GenerateTabPath(objTab.ParentId, objTab.TabName)
to:
objTab.TabPath = GenerateTabPath(objTab.ParentId, strTabNameForSEOKeywords)
This works great for the filename itself, but doesn't address the path determined by the ParentID. GenerateTabPath obviously spins recursively up the ParentId chain to create the TabPath, but it's a private function that I don't know how to get to.
Any suggestions on how/where I can get to the parent path to put the underscores in it as well?
Thanks in advance.