title: Using query params in Ionic 4
body: <p>I am shifting an Ionic 3 project to Ionic 4. This is a web project.</p>
  
  <p>On scanning QR code, page opens. URL looks like:</p>
  
  <pre><code>domain.com/qanda/pwa/home?user=simon&amp;skill=ionic&amp;role=Admin&amp;Table=132
  </code></pre>
  
  <p>Till Ionic 3, everything was fine. If I add these params in Ionic 4  and run, it opens <code>domain.com/qanda/pwa/</code>  - A blank page, doesn't even open home page by default.</p>
  
  <p>I have kept <code>.htaccess</code> file beside <code>index.html</code> so that I can directly open any project page from url. Below is the code of <code>.htaccess</code>:</p>
  
  <pre><code>RewriteEngine On
  # If an existing asset or directory is requested go to it as it is
  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
  RewriteRule ^ - [L]
  
  RewriteRule (.*) https://%{HTTP_HOST}/qanda/pwa/index.html
  </code></pre>
  
  <p>How can I achieve query params in Ionic 4?</p>