• Resolved Nadav Levi

    (@123nadav)


    Hey, how are you πŸ™‚
    I missed you hahaha

    So actually, I do not experience any issue but want to ask something.

    My sites have this plugin:
    https://es.ww.wp.xz.cn/plugins/all-404-redirect-to-homepage/

    Now when you go inside the file:
    /wp-content/autoptimize_404_handler.php

    You note inside the handler, to put “error_document” in
    the .htacsses for the AO 404 Hendler.

    The 404 plugin i showed you do it for
    me already, and this looks like they fit each other.

    but the 404 plugin redirect to the homepage everything and any page and any URL.

    my suspicious, maybe the handler not work? or actually, conflict?
    You can get inside my website everything is already ON.

    Another thing is if i need to bypass the handler from Nginx Dynamic caching?
    (I See you noted is HTML caching and must configure in a server level)

    Not sure if have a problem, I only need good advice πŸ™‚
    Can be is work fine and i am crazy.

    Regards,
    Nadav Levi Yahel
    Locksmith Unit

    • This topic was modified 5 years, 3 months ago by Nadav Levi.

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

Viewing 2 replies - 16 through 17 (of 17 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Did not know about ErrorDocument 404 /index.php?error=404, it’s a nice trick (ensuring WordPress processes missing files at which point Autoptimize can intervene as well) use that πŸ™‚

    Thread Starter Nadav Levi

    (@123nadav)

    Thank you, Brother πŸ™‚
    It works good, and actually not need a block in Nginx, if Nginx has CSS/JSS block
    with open string, everything will be good. ( Nginx is smart bro ).

    he can read the PHP and the css utilize everything without point the directory.
    nginx will do the job for you, is design for that.

    but now i have another issue i gonna open theard Frank.
    is big issue πŸ™

    Ok, I will open a new thread, this start be a big issue need to be solved.
    i will explain in the new one.

    • This reply was modified 5 years, 3 months ago by Nadav Levi.
Viewing 2 replies - 16 through 17 (of 17 total)

The topic ‘404 hendler AO + 404 redirect homepage plugin’ is closed to new replies.