Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there a way to stop everyone from logging into umbraco backoffice temporarily ? I've had a look online and haven't seen anything .
Hey Darren
Disable users or write a redirect rule in web.config for /umbraco
Regards Dhanesh :)
Careful with the rewrite rule - you might stop Surface Controllers / ajax calls from working.
You can rename the backoffice folder to something else and change the webconfig appSetting to
It wont disable but they wont know the new name. Its good practice to rename this folder anyway.
In Umbraco 10, I was able to accomplish disabling Backoffice by commenting out u.UseBackOfficeEndpoints(); in Startup.cs like so:
u.UseBackOfficeEndpoints();
app.UseUmbraco() .WithMiddleware(u => { u.UseBackOffice(); u.UseWebsite(); }) .WithEndpoints(u => { u.UseInstallerEndpoints(); // u.UseBackOfficeEndpoints(); u.UseWebsiteEndpoints(); });
Afterwards, the Backoffice URL will result in 404.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Disable Umbraco backoffice login
Is there a way to stop everyone from logging into umbraco backoffice temporarily ? I've had a look online and haven't seen anything .
Hey Darren
Disable users or write a redirect rule in web.config for /umbraco
Regards Dhanesh :)
Careful with the rewrite rule - you might stop Surface Controllers / ajax calls from working.
You can rename the backoffice folder to something else and change the webconfig appSetting to
It wont disable but they wont know the new name. Its good practice to rename this folder anyway.
In Umbraco 10, I was able to accomplish disabling Backoffice by commenting out
u.UseBackOfficeEndpoints();
in Startup.cs like so:Afterwards, the Backoffice URL will result in 404.
is working on a reply...