title: Redirect non-trailing slash to trailing slash on homepage URL only
body: <p>I have a two-part issue.</p>
  
  <ul>
  <li>I am trying to implement a redirect only for the homepage URL to render with a trailing slash. Example: redirect <code>www.domain.com</code> to <code>www.domain.com/</code> BUT allow all other URLs to render without a trailing slash.</li>
  </ul>
  
  <p>End Goal:</p>
  
  <pre><code>www.domain.com/
  www.domain.com/pages
  www.domain.com/pages/post-name
  </code></pre>
  
  <ul>
  <li>This get complicated because there is one WordPress install with one .htaccess file but 6 other sites (with different domains) installed under the main WP install. I need to implement the trailing slash only on the homepage URL for a site that is mapped under the main install and shares the same .htaccess file with the main instal domain. So a rewrite base will only affect the main install domain, not the other 6 sites. </li>
  </ul>
  
  <p>This is the first time I have encountered this kind of structure and it has me totally confused. Is this even possible to achieve? Thanks for any help!</p>