• Resolved GevoelVoorHumus

    (@gevoelvoorhumus)


    Every time I edit or add a page, a 404 record appears the URI appended with
    ‘.*’.

    I suspect this is caused by Pods. Can I add a ‘ignore everything that ends with [insert wildcard here]’ somewhere?

    Marc

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Aaron

    (@aaron13100)

    There’s no way to ignore things that way currently.

    I installed pods and created a page and I don’t see the same issue. Any ideas for reproducing the problem?

    Plugin Author Aaron

    (@aaron13100)

    I can’t reproduce the issue. Can you:

    1) Enable debug logging (Settings -> 404 Solution -> Options -> Advanced Etc -> Debug logging -> Check the box -> Scroll down and click Save Settings)
    2) Create a post that causes the 404 to be created.
    3) Verify that the 404 appears (that the issue happened)
    4) delete the post if you want
    5) View the debug log (Settings -> 404 Solution -> Options -> Advanced Etc -> View the debug file)
    6) Paste the entire log or the last 10 pages or so to https://pastebin.com/.
    7) Paste the link created at https://pastebin.com/ here so I can see the log.

    ?

    That might be helpful.

    thanks

    Plugin Author Aaron

    (@aaron13100)

    Pleases try version 2.23.9

    Plugin Author Aaron

    (@aaron13100)

    I’ll assume this was fixed since there’s been no response in 11 days.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    Hi Aaron,

    I’m sorry, this account was linked to the wrong e-mail address, so I didn’t get the notifications. I’ve updated it now.

    I’ve created a blog called test and an entry with two hits appears:

    /blog/test/.*

    I had to create three test files, because no debug file was created.

    This is the last part of the debug file: https://pastebin.com/tn63BWre

    It has occurred to me that at some point I set up a faulty regex. But I can’t find it. Pods is not mentioned in the debug file…

    Thanks for your time,

    Marc

    Plugin Author Aaron

    (@aaron13100)

    It looks like the plugin doesn’t have permission to create a file. The errors are

    mkdir(): Permission denied
    mkdir(): Toegang geweigerd
    touch(): Unable to create file \/domains\/mysite.nl\/DEFAULT\/wp-content\/plugins\/404-solution\/temp\/sync_mode_options.txt because Bestand of map bestaat niet

    Probably the plugin can’t function correctly without this.

    Plugin Author Aaron

    (@aaron13100)

    I think that will have to be fixed before the plugin will work.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    Okay, I was able to fix that.

    New pastebin: https://pastebin.com/vDDmK8Z5

    It says: “No posts or pages matching slug: .*”

    Is some plugin creating that slug? Pods?

    Plugin Author Aaron

    (@aaron13100)

    I don’t see any more errors.

    Try adding “mysite.nl” on a line by itself under the “Internal Process User Agents – Do Not Log” section in the options. (Settings -> 404 Solution -> Options -> Advanced Settings Etc -> Internal Process User Agents – Do Not Log). Then Save Settings.

    Let me know if that stops it from capturing 404s.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    Fascinating. When I add a post, no mention of .*, but when I trigger a 404, an normal entry is added.

    The log states:

    Ignoring user agent (do not redirect): WordPress/5.7; https://mysite.nl for URL: /.*

    Does this give you a clue?

    Plugin Author Aaron

    (@aaron13100)

    With your current settings the 404s won’t be captured so I’ll mark this topic as “resolved.”

    As for where the request is coming from, if you think it’s coming from a plugin then you can disable each plugin one by one and test it again. Or disable all plugins and test it and reenable them one by one, for example.

    Thread Starter GevoelVoorHumus

    (@gevoelvoorhumus)

    Thanks, Aaron!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘URIs endig with .*’ is closed to new replies.