• Resolved Biranit

    (@biranit)


    Hi,

    I am new to Wordfence and am currently evaluating the plugin with the free version, before I commit to purchasing the premium keys.

    I installed Wordfence and enabled the WAF as instructed (I am on NGINX + PHP-FPM) — and haven’t really changed any options beyond that. the WAF says it’s in “learning mode” too. Diagnostics page shows no errors.

    Things seem to be working fine, except for one thing: post preview for a custom post type has stopped working and returns a 404 error.

    The preview link WordPress puts is https://www.atimes.com/?post_type=brief&p=86021&preview=true — but when clicking on it, it redirects to https://www.atimes.com/?post_type=brief&p=86021 (removing preview=true) — and returns a 404 page. So the only way to see the post is AFTER it’s been published.

    Any suggestions?

    Many thanks,

    Bira

Viewing 1 replies (of 1 total)
  • Thread Starter Biranit

    (@biranit)

    OK, please ignore this post. The problem had nothing to do with Wordfence. (No way to delete this thread). Apologies.

Viewing 1 replies (of 1 total)
  • The topic ‘Preview for custom post type no longer working’ is closed to new replies.