Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I found that trying to preview a node on the add form doesn't work if the content type is set to publish to a particular domain. I'm guessing this is because the node hasn't been published so its getting blocked with an access denied.
This works when Publish to 'All domains' is ticked in the content type settings but I want to avoid doing this. Previewing on edit also works fine as the node has been published.
Is there a work around?
Comments
Comment #1
rviner CreditAttribution: rviner commentedI managed to resolve the issue in the end by adding node/add/* in the special page requests settings.
Comment #2
agentrickardHow is this value being set "if the content type is set to publish to a particular domain"?
Comment #3
agentrickard