• So full disclosure, we just copied our site over to a new hosting server, and have just done the final step of assigning the URL — ciw-online.org — to the mirror set of files on the new server. This function only stopped working after we switched over.

    So we have a draft post ready to go, and it used to be that when we click “veiw post” a new tab would pop up with the draft post as it would appear when published, with this as the URL:

    https://www.ciw-online.org/?p=22672&preview=true

    Now, it tries to do that, but then as it’s loading, the “&preview=true” disappears and it attempts to load:

    https://www.ciw-online.org/?p=22672

    Seeing as that is not yet published, we get a 404 error code. Presumably this will be fine when the post is public, but in the meantime, we need to be able to preview it to check formatting.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m also experiencing the same issue on two different sites.
    Unable to preview or view draft posts. The page that loads when trying to preview drafts is the home page of the site.

    Noticed this first about a week ago, and just had a client contact me about it on their website https://scyclistens.org.

    Hopefully it will be addressed in the next maintenance release. It is helpful to be able to view draft posts, agreed.

    Moderator t-p

    (@t-p)

    try Enabling debugging and post the results.

    No error output, and no debug.log file created.

    Moderator t-p

    (@t-p)

    I’m also experiencing the same issue on two different sites.
    Unable to preview or view draft posts.

    Have you tried: – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).
    – If all the above steps do not resolve the issue, then try MANUALLY updating. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Read the Manual Update directions first.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to view draft post’ is closed to new replies.