• Resolved Micha

    (@michaing)


    Hello WordPress community,

    since we freshly installed WordPress 5.6 some months ago and as well after upgrading to 5.7, all ?author=<ID> pages return a 404 page. ?author_name=<name> pages btw work fine:
    https://dietpi.com/blog/?author_name=michaing
    https://dietpi.com/blog/?author=1

    We don’t use permalinks or rewrites at all (disabled at webserver level), so it’s not about broken rewrites or permalinks like in all other similar topics I could find.

    We assured that the author IDs are correct, via admin panel and by checking the database itself and tried changing back and forth post authors and with all plugins disabled, without success. Webserver and PHP logs do not show any errors.

    What I didn’t try, to be true, is changing the theme, but as far as I understood, that author post queries are a basic WordPress function. However, we’ll check back with the theme developers as well. Probably someone has an idea how to debug or narrow down the issue further?

    Best regards,

    Micha

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

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

    (@michaing)

    Issue solved, Wordfence has the brute-force protection setting “Prevent discovery of usernames through ‘/?author=N’ scans, the oEmbed API, the WordPress REST API, and WordPress XML Sitemaps”, which blocks those pages. I thought I tested it with Wordfence disabled, but either some cache still blocked it or I did something wrong.

Viewing 1 replies (of 1 total)
  • The topic ‘All ?author= pages return 404’ is closed to new replies.