Content items with relative URLs are stuck in draft mode and cannot be published

Issue

When attempting to publish a content item from Persona Bar > Content > Content Library that includes a relative URL in the URL/Website field, the save button is greyed out. 

relativeURL.png

Root Cause

This is the intended behavior in DNN as relative URLs are not allowed. In fact, upon trying to create a new content item, if a user attempts to use a relative URL, they will get the following error:

validURL.png

Resolution

The fix here is to use the full path URL instead of the relative URL which will allow the content to be published. 

fullURL.png

NOTE: If relative URLs absolutely must be used, then you will need to add a Single-Line Text field to the content type and use that instead of the URL/Website field. 

 

Comments

0 comments

Please sign in to leave a comment.