Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

admin page url change
ammd
#1 Posted : Wednesday, December 07, 2011 3:46:32 PM(UTC)
Rank: Member
Groups: Registered

Joined: 12/7/2011(UTC)
Posts: 19
I have the full source and wish to change the admin page url so people cannot get to it easy. I do not want mydomain.com/admin I want something different so only I know where it is. Can this be done just by changing admincontroller name?

Thanks
jifeng
#2 Posted : Thursday, December 08, 2011 1:20:10 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
You can change it in the SitesAreaRegistration, this line:


context.MapRoute("Admin", "Admin", new { controller = "Home", action = "Index", area = "Sites" });
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
1 user thanked jifeng for this useful post.
Hrvoje_86 on 2/22/2012(UTC)
ammd
#3 Posted : Thursday, December 08, 2011 9:29:40 AM(UTC)
Rank: Member
Groups: Registered

Joined: 12/7/2011(UTC)
Posts: 19
thank you.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.043 seconds.