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

  • Resolved elorden

    (@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 http://209.135.134.133/example/ 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)
  • “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
    lorden@ai.edu

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