Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fordnn/reversesiteurls


https://github.com/fordnn/reversesiteurls

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# dataexport
Reverse SiteUrls for DNN (former DotNetNuke)

About Reverse SiteUrls
This is additional to Core FriendlyUrlProvider makes reverse search in the SiteUrls.config. Right now click in the menu shows URLs like http://site.com/About/tabid/40/Default.aspx
Ever you have analog About.aspx for tabid=40 in the SiteUrls. This addon helps to fix it.

DotNetNuke made very good solution for custom URLs. This is SiteUrls.config file. It allows to add to this file something like this:

<RewriterRule>
<LookFor>.*/About.aspx</LookFor>
<SendTo>~/Default.aspx?TabID=40</SendTo>
</RewriterRule>

When your customers type something like http://mysite.com/About.aspx DotNetNuke Portals shows correct page from tabid=40. Issue happens when you click this page in the menu. Instead http://mysite.com/About.aspx it shows http://mysite.com/About/tabid/40/Default.aspx.

It confuses clients and search bots. Bots can penalize, because it looks like duplicates of content. This is why this additional has been made by forDNN Team. It makes reverse lookup in the SiteUrls.config and replaces with related URL (if any).