WordPress.org

Ready to get started?Download WordPress

Forums

Why is there a "?" in URL of a link (3 posts)

  1. sueheap
    Member
    Posted 5 months ago #

    Wondering why I get this after I click on the link and how I can get rid of the question mark...
    http://www.sitehere.com/jobs/?show=all
    Thanks

  2. Rod Whiteley
    Member
    Posted 5 months ago #

    The question mark identifies what follows as a query string. It is a standard part of a URL. It might be possible to change the code of your website to do the same kind of thing without using a question mark, but it would probably be a lot of work.

  3. viky081
    Member
    Posted 5 months ago #

    Using the query string like that they may perform

    if($_GET[show]==all) {
    //did something
    }
    else {
    //did something
    }

Reply

You must log in to post.

About this Topic