title: How to remove base site id/context root from URL in Hybris
body: <p>We have a requirement where we need to achieve the following:
  We should be redirected to <a href="https://localhost:9002/basesiteid/" rel="nofollow noreferrer">https://localhost:9002/basesiteid/</a>.
  But we have a requirement wherein the URL should be resolved to <a href="https://localhost:9002/" rel="nofollow noreferrer">https://localhost:9002/</a>.
  Basesite id should not be appended in the URL.   </p>
  
  <p>We had the following changes.</p>
  
  <pre><code>hac.webroot=/hac
  storefront.webroot=
  storefrontContextRoot=
  </code></pre>
  
  <p>Also we had made the following changes in URL Encoding Attributes in WCMS->Website.
  URL Encoding Attributes </p>
  
  <p>Post the changes we are getting the following error on all the pages,</p>
  
  <pre><code>javax.servlet.jsp.JspTagException: In URL tags, when the "context" attribute is specified, values of both "context" and "url" must start with "/"
  </code></pre>
  
  <p>Is there any anyway how we can remove the basesite id from URL ???</p>