How to create a permanent vanity URL in DotNetNuke?

I don't know about a solution for implementing custom vanity urls (my term is not sure what they really are called) in DotNetNuke. Does anyone know of a solution? This could be kernel tuning, using a third-party module, or a suggestion on how to write it from scratch.

That's what I think:

Essentially, I assumed that the administrator would be able to create these vanity URLs and indicate what the vanity URL is and what its main URL is.

+3
source share
2 answers

The closest thing, out of the box, is to define your friendly URLs in SiteUrls.config , found in the root of DotNetNuke.

In this way:

The main limitation is that you will have the .aspx extension.

SiteUrl.config :

<RewriterRule>
    <LookFor>.*/awesome.aspx</LookFor>
    <SendTo>~/default.aspx?tabid=ID&amp;etc=etc</SendTo>
</RewriterRule>

Rewriter URL- LookFor URL- SendTo. escape- XML '&' querystring.

, URL Master , URL- , .aspx . , " URL- " , URL.

+3

ActiveSocial , , - 2.x Master URL URL-, .

0

Source: https://habr.com/ru/post/1768697/


All Articles