Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write code for global.ascx.cs in dotnetnuke website?

I need to write some code in application level variable in global.ascx.cs file in my dotnetnuke website to change the url of some pages with querystring management.

I got a tutorial from youtube to do that by editing global.ascx.cs

like image 274
NiNaD PaNDyA Avatar asked Nov 03 '22 22:11

NiNaD PaNDyA


1 Answers

Modifications to URLs within DotNetNuke typically happen through an HTTPmodule, you can register your own, or you can use a tool such as URLMaster for customizing URLs within DNN.

Another option is to make changes to the SITEURLS.CONFIG file in the root of a DNN site. You can find an interface to edit siteurls.config in the host/host settings page, under the friendly URL settings.

like image 119
Chris Hammond Avatar answered Nov 09 '22 00:11

Chris Hammond