Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Author agentevolution

    (@agentevolution)

    We’ve found, from previous forum threads, that other plugins registering post types are doing it wrong, which can cause this and similar issues.

    Although you mentioned (and provided a video) that you tried deactivating other plugins and still had the same problem, however I notice you’re using CloudFlare, which would still be serving the cached version after they were deactivated.

    Again, deactivate all other plugins, and be sure to clear your CloudFlare cache (or temporarily disable it for troubleshooting).

    Thread Starter Mike

    (@maddogmike)

    By default (the way I have it set) CloudFlare only caches images and CSS, not HTML.

    My theme does have a custom post type, “Portfolio”, but it’s a totally different slug, so I’m not sure that could cause the problem.

    Does your plugin need to write to wp-config.php or .htaccess or anything? I have permissions locked down a bit on those, so the plugin wouldn’t be able to write to them.

    Plugin Author agentevolution

    (@agentevolution)

    It does use the flush_rewrite_rules() function on plugin activation which does need to write to .htacess. https://codex.www.ads-software.com/Function_Reference/flush_rewrite_rules

    Also, if your theme has a custom post type, regardless of the post type slug, depending on when they run the flush_rewrite_rules function could be the issue I was speaking of earlier with other plugins doing it wrong.

    Thread Starter Mike

    (@maddogmike)

    I loosened up the permissions on my .htaccess file and reactivated WP-Listings, but I don’t see written anything in .htaccess by WP-Listings. What should be there? Perhaps I could add it manually. (When W3TC can’t write to .htaccess it gives a warning and tells me what to add.)

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Single Listing page 404’ is closed to new replies.