# Include the store code in URLs

1. On the *Admin* sidebar, go to **Stores** > *Settings* > **Configuration**.
2. Under *General* in the left panel, choose **Web**.
3. Expand ![Expansion selector](https://docs.magento.com/user-guide/assets/icon-display-expand.png) the **URL Options** section.
4. Set **Add Store Code** to your preference:

   * **URL with Store Code**: `http://www.yourdomain.com/magento/[store-code]/index.php/url-identifier`
   * **URL without Store Code**: `http://www.yourdomain.com/magento/index.php/url-identifier`

   [![General configuration - web URL options](https://docs.magento.com/user-guide/configuration/general/assets/web-url-options.png)](https://docs.magento.com/user-guide/configuration/general/assets/web-url-options.png)[*URL Options*](https://docs.magento.com/user-guide/configuration/general/web.html)
5. When complete, click Save Config.
6. Click the **Cache Management** link in the message at the top of the workspace. Then, follow the instructions to refresh the cache.

   <img src="https://docs.magento.com/user-guide/stores/assets/msg-cache-management.png" alt="Cache management message" data-size="original">

###

<br>
