WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Appending "?parameter=value" to URL causes 404 error (3 posts)

  1. elorden
    Member
    Posted 5 years ago #

    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".

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    "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.

  3. elorden
    Member
    Posted 5 years ago #

    Changing the variable worked. thanks for the help.

    Ed Lorden
    Asst. Director, Instructional Technology
    Aquinas Institute of Theology
    lorden@ai.edu

Topic Closed

This topic has been closed to new replies.

About this Topic