Speed up widget development with Sitefinity MCP server. Learn more...

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.
NEW TO SITEFINITY?

Want to learn more?

Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.

Get started with Integration Hub | Sitefinity Cloud

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 your 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 ASP.NET Core and take advantage of its decoupled architecture and modern development model.

Was this article helpful?