• Resolved supportnirmal

    (@supportnirmal)


    We are working on this site(https://flarehrdev.wpengine.com).

    A previous developer had installed and configured the plugin.

    We do not have any use of the plugin so we want to deactivate and remove the plugin.

    However, after deactivating the plugin all our pages show a 404 page not found error. Is there safe guidance on removing the plugin and restoring the default WordPress permalink structure?

    Your help is greatly appreciated. As our project is on a standstill with the plugin activated. If you help us we’ll give you a 5-star rating for support.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @supportnirmal,

    As far as I can see, your previous developer most likely used Permalink Manager to maks the rewrite rules conflict. As a result, when the plugin is deactivated, the built-in permalink stops working.

    Your website uses an additional custom post type “resources” with an invalid rewrite slug. As a result, the rewrite rules (permalink format) for single “resource” items conflict with the rewrite rules for posts and pages.

    Both posts and pages make use of the same permalink structure, and whenever you open a regular page, WordPress tries to load a non-existent “resource” instead of a page:

    When my plugin is turned on, it overwrites the WordPress query array and forces the correct page to load.

    To resolve this issue, please either delete the “resources” post type completely or change its [“rewrite”][“slug”] argument:

    https://developer.wordpress.org/reference/functions/register_post_type/#rewrite

    Finally, to flush rewrite rules please follow the below instructions:

    https://permalinkmanager.pro/blog/fix-wordpress-404-error-flush-rewrite-rules/

    Thread Starter supportnirmal

    (@supportnirmal)

    Hi Maciej,

    Thank you for your help, but I do not have the ‘resources’ post type. Those were the taxonomies. Now, I have removed this taxonomy and the rewrite code, deactivated the ‘Permalink Manager Lite’ plugin and flushed the permalink. Despite these actions, the pages are still showing a 404 error.

    Plugin Author Maciej Bis

    (@mbis)

    Hi @supportnirmal,

    If the problem still persists, there are probably another custom taxonomies or post types that overwrite the rewrite rules.

    Could you turn on Permalink Manager again and send me the screenshot showing the debug data. To do so, please simply append “?debug_url=1” to the end of any non-working URLs.

    Plugin Author Maciej Bis

    (@mbis)

    Hi @supportnirmal,

    It appears the issue has been resolved, therefore I will close this thread. If you have further questions, please leave them here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I safely deactivate the plugin’ is closed to new replies.