Double Slashes in Home URL causes problems

I’m having problems with my BaseUrl configuration in a Yii 2.0 application. Well, at least I assume it is that. The application works fine on my local machine, but the configuration there uses a BaseUrl of ‘/viigeo’ while my production machine uses a BaseUrl of ‘/’. This appears to be causing a problem with Bootstrap because the My Company link has a href of ‘//’, which is not valid and takes the user no where (<a class=“navbar-brand” href="//">My Company</a>). Any idea how I can remedy this situation?



$config = [

'components' =&gt; [

    'request' =&gt; [

         'baseUrl' =&gt; '/',

        // &#33;&#33;&#33; insert a secret key in the following (if it is empty) - this is required by cookie validation

        'cookieValidationKey' =&gt; 'XXXXXXXXXXXXXX',



    'urlManager' =&gt; [

        'baseUrl' =&gt; '/',

        'enablePrettyUrl' =&gt; true,

        'showScriptName' =&gt; false,

        'rules' =&gt; []




My bad. This was an easy fix. Just had to change the BaseUrl from "/" to "" and all is well now. Should have figured that out sooner!