Only enable auto-update of slug when page is first created

Re-submit change which was made earlier, but overwritten by accident.

Part of the original change made here: b938a3b1f054d70171a5382689465caecd6475df was overwritten. See discussion here: 9a5f94f