If you have a UCM environment with contribution -> consumption servers: you will find that some contributors will try to edit sites directly from the consumption server and will find that they cannot enter contribution mode if DisableSiteStudioContribution=true.

Users can still press the key combo “Ctrl + Shift + F5″ even if the configuration DisableSiteStudioContribution=true is set. This will refresh the page, however will not redirect them to the consumption server to allow them to edit the page.

I have created a quick little component that resolves this issue and redirects users to the Contribution server, so that they can edit files on the fly.

The component appends the following javascript to update the URLBase variable with the Contribution server address within the ss_layout_head_info.

if (SSContributorMode.UrlBase.indexOf('<$consumption$>')){
SSContributorMode.UrlBase = SSContributorMode.UrlBase.replace('<$consumption$>', '<$contribution$>');
}

Small bug with the Wordpress JS code generator - please reference code in component.
As some idoc appears with < > within JS code gen!

You will need to update the environment settings and specify the contribution, consumption address within the component..

You can download the component here.

Please check Other posts before downloading this component::

1. Update:: Consumption to Contribution Ctrl Shift F5 redirect.

2. Guide:: Disable “ctrl + shift + f5″ Site Studio contributor option.

Update of this component will be released in the next couple of days! ;)
Keep an eye out in the downloads section..