Support » Plugins and Hacks » [Plugin: WordPress MU Domain Mapping] Post previews not working since WP 3.3 upgrade

[Plugin: WordPress MU Domain Mapping] Post previews not working since WP 3.3 upgrade

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hey,

    I’ve had the same issue with previewing in 3.3. I’m running the development version of the DM plugin now ( which did not fix the issue. However, when I turned off Remote Login previewing seems to be working again.

    This was an acceptable band-aid in my case because most of my users only admin a single site.

    Hope this helps

    Thanks for this. I can see that it works as a fix, but unfortunately, I need remove login turned on. Hopefully we can have both remote login and post previews in a forthcoming update.

    Plugin Author Ron Rennick


    Possibly you could provide a bit more detail – ex. what are your DM settings? With your settings what does the post preview link look like?

    In the Domain Mapping Options, I have 1-4 checked and 5 unchecked. When I preview a post, I get the 404 page for whatever theme is in use.

    If I uncheck option 1 (remote login) and try again, it previews the post OK.

    If I check 1 again, and click preview, it shows the previewed post, but it appears to be cached, because trying to preview it in another browser, produces the 404 again.


    Hi Ron,

    I have the following checked:

    • 2. Permanent redirect
    • 3. User DM Page
    • 4. Redirect admin to original domain

    My preview link looks like this:

    I actually get a “You do not have permission to preview drafts” and not a 404, so this may be an unrelated issue.

    Plugin Author Ron Rennick


    Most likely the issue is that the nonce is failing (since the preview link didn’t have a nonce prior to 3.3).

    There may or may not be a solution for this. Prior to 3.3 there were a couple of scenarios where post previews did not work (due to security).

    Your diagnosis was spot on. When I remove the nonce check I can preview published pages.

    remove_action('init', '_show_post_preview' , 10);

    Pages that are in draft, however throw a 404.

    The draft preview links look like this:

    I also tried changing the url to the version without the mapped domain and it also kicks back a 404.

    Thanks for all the work that You and Andrea do. Your efforts make the WP community one of the best.

    Plugin Author Ron Rennick


    Try the development version.

    Thanks very much. That fixes the problem.

    Plugin Author Ron Rennick


    Joss, thanks for letting me know 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] Post previews not working since WP 3.3 upgrade’ is closed to new replies.