Enable Friendly URLs

WHMCS can create search engine-friendly URLs for some public-facing pages.

  • For more information about this feature, see Friendly URLs.
  • This feature is distinct from the friendly URLs available for product groups and products. For more information, see Products.

Choose a Friendly URL Format

Selecting an option that your server environment does not support may result in parts of your website being inaccessible.

To configure this setting:

  1. Go to Configuration () > System Settings > General Settings.
  2. Choose the General tab.
    The General Tab
  3. Choose your preferred option for Friendly URLs.
    The Friendly URLs Setting
    WHMCS automatically detects the best option for your server environment and highlights it in green. We recommend using the automatically-detected Friendly URLs setting, but you can change it at any time.

Enable Friendly URLs for IIS Environments

If you run WHMCS in an IIS environment, you must perform additional steps to enable Friendly URLs.

To enable Friendly URLs for IIS environments:

  1. Ensure that the URL rewrite module is installed for IIS.
  2. Open IIS Manager.
  3. Go to the site you want to add the rule to.
  4. In the right pane, double-click and select urlrewrite.
  5. On the right side inbound rules, select import rules.
  6. Go to the General at Configuration () > System Settings > General Settings.
  7. Find the Friendly URLs section and click Advanced Settings.
    The Friendly URLs Setting
  8. Choose the Rewrite File tab.
    The Rewrite File tab in the advanced URI Path Management settings
  9. Find and copy the mod_rewrite rules from the WHMCS Rules section.
  10. Paste those rules into the rewrite rules field.
  11. Click Apply.

Last modified: June 14, 2024