Change URL format for built-in modules with single content type

Use the following procedure to configure the URL format for built-in modules that have single content type. For example, News.

For example, the default format for generating the URLs of news items is YYYY/MM/DD/NewsTitle. However, if you want to publish on the same date several news with the same title, this will cause URL conflict. You can overcome this by changing the way the URL is generated.

Perform the following procedure:

  1. Click Administration » Settings.
    The Basic Settings page appears.
  2. Click Advanced link.
    The Settings page appears.
  3. In the left pane, click the content type for whose URL format you want to change.
    For example, click News.
  4. Click Providers » OpenAccessDataProvider » Parameters » Create new.
  5. In Key, enter urlFormat.
  6. In Value, enter how you want the URL to be generated.
    For example, enter /[Author, {0:yyyy'/'MM'/'dd}]/[UrlName], which generates URLs based on the author of the news, not its date.
  7. Click Save changes and restart Sitefinity.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?