Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fordnn/reversesiteurls
https://github.com/fordnn/reversesiteurls
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fordnn/reversesiteurls
- Owner: fordnn
- Created: 2017-10-20T00:58:52.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-20T01:09:14.000Z (about 7 years ago)
- Last Synced: 2024-08-03T22:02:27.116Z (5 months ago)
- Language: C#
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-dnn - Reverse SiteUrls
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).