title: Using wget but ignore url parameters
body: <p>I want to download the contents of a website where the URLs are built as</p>
  
  <p><a href="http://www.example.com/level1/level2?option1=1&amp;option2=2" rel="noreferrer">http://www.example.com/level1/level2?option1=1&amp;option2=2</a></p>
  
  <p>Within the URL only the <a href="http://www.example.com/level1/level2" rel="noreferrer">http://www.example.com/level1/level2</a> is unique for each page, and the values for option1 and option2 are changing. In fact, every unique page can have hundreds of different notations due to these variables. I am using wget to fetch all the site's content. Because of the problem I already downloaded more than 3GB of data. Is there a way to tell wget to ignore everything behind the URL's question mark? I can't find it in the man pages.</p>