The URLs of your products and categories play a major role in determining how well the site gets indexed by search engines. Catalog URLs can be configured in the store configuration. Below, you could see the list of the settings supported by the ScandiPWA theme:
Product URL Suffix
Determines the suffix of product URLs
Category URL Suffix
Determines the suffix of category URLs
Use Categories Path for Product URLs
In ScandiPWA, the category path is always excluded from the product URL.
Track the progress here - https://github.com/scandipwa/scandipwa/issues/2161