'name' in query string creates 404
-
Hi,
This is a weird issue I stumbled on just now:
If there is
?name=anythingatall(or &name=anythingatall) appended to any URL, WordPress responds with a 404 page.Even WordPress.com shows this behaviour!
I found some very old and closed forum topics about it so it’s been there for a long time:
http://wordpress.org/support/topic/name-variable-in-url-creates-404
http://wordpress.org/support/topic/strange-404-behaviour
http://wordpress.org/support/topic/plugin-contact-form-7-form-action-directs-to-404
http://wordpress.org/support/topic/posting-a-ltformgt-to-the-same-page-returns-a-404
http://wordpress.org/support/topic/plugin-contact-form-7-submit-redirecting-to-404-pageBut none of them provide an answer on HOW to prevent WP to stumble over “name=…” or even on WHY this is happening.
I am guessing this not not a bug but by design. But why… Is “name” reserved for anything like User Name internally?
Can anyone shed some light on this?
The topic ‘'name' in query string creates 404’ is closed to new replies.