Forums

Clicking Preview in Multisite Creates 404 Error (3 posts)

  1. oateslarsen
    Member
    Posted 4 months ago #

    Since upgrading to Multi-Site, we've had an ongoing problem with individual blog owners being able to click on the Preview button to see how a draft item will appear before being published.

    It seems this is specific to when network mode is enabled.

    Upon further research, I found the following that clears up the problem:

    go to the file template-loader.php in wp-include folder and comments the line number 7 which should be do_action('template_redirect'); so please make it like this

    //do_action('template_redirect');

    and it will sort out preview post issue in multisite setup.

    Indeed this does resolve the issue, however I HATE tweaking core files. I have searched within WordPress.org Forums and was unable to find this registered as a "bug" nor could I find an answer to the problem within the Forum, so I wanted to be sure it is logged here.

    Thanks

  2. Andrea_r
    team pirate
    Posted 4 months ago #

    Yep, you are correct.

    Forums are not for bug reports tho. ;) That would be here:

    http://core.trac.wordpress.org/

    use the same login/username you have here on the forums.

  3. oateslarsen
    Member
    Posted 4 months ago #

    Oh - so sorry - I candidly couldn't find where to post bugs - so thank you for the link and the help. Will post there now.

Reply

You must log in to post.

About this Topic