Per extension SEF URL configuration
URL structure can be configured separately for each extension:

There are 2 types of options for each extension.
Shared configuration options
Section titled “Shared configuration options”The following options exist for all extensions used on your site:

Normal: Created URLs are stored in the database. 4SEF uses its built-in or 3rd-party provided plugins to build URLs. If no plugin is found, it falls back to using the SEF URL Joomla would have built for that page.Joomla SEF: Created URLs are stored in the database. 4SEF does not use its built-in plugins but always uses the SEF URL Joomla would have built for that page. This will be the most backward-compatible operation mode if your site has already been indexed by search engines but some of 4SEF benefits are lost, such as having URLs independent of menu structure.Bypass: 4SEF uses the Joomla-generated URLs and does not store them to the database. This reduces the number of URLs stored in the database but brings back some sub-optimal Joomla behavior, whereby URLs that should trigger a 404 won’t anymore, and URLs may change if you change your menu structure.Leave as non-sef: URLs will be left in their original, internal Joomla form, similar toindex.php?option=com_content&view=article&id=123. This can only be useful in very specific circumstances, rarely found on modern setups.
Specific configuration options
Section titled “Specific configuration options”These options are different for each extension, and there actually may not be any for some of them. Each option is accompanied by a small help text describing its purpose and usage, which you should consult directly.