Support » Fixing WordPress » Appending “?parameter=value” to URL causes 404 error

  • Resolved elorden


    I am using WordPress to serve up a website, with the Exec-PHP to allow use of PHP code in the pages. I am trying to use the GET method and parameters to pass selection information to PHP code in the pages, to display varying information in the pages. An example is in my website. When I look at the page with the above URL, the page is found. If I add “?m=2” to the end of the URL, I get a 404 error. Why would the addition of a GET parameter cause the page to “disappear”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    “m” is already used as a parameter, for the “month” on date based archives.

    Pick a parameter name that doesn’t interfere with all the parameters WP already uses.

    Changing the variable worked. thanks for the help.

    Ed Lorden
    Asst. Director, Instructional Technology
    Aquinas Institute of Theology

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Appending “?parameter=value” to URL causes 404 error’ is closed to new replies.