Display content on your website

To display content on your page, you use widgets, with a dedicated widget for each content type. You can configure widgets to display different part of content, by combining widgets and by tagging and classifying content. Widgets also define how content is presented in the publishing medium, that is, on the webpage. For more information about using widgets, see Widgets.

For example, you use the Events widget to display a list of upcoming events on your website. You can configure the widget to display a paged list of events, based on whether the event has a tag Conference. For more information about adding widgets and configuring them, see Add widgets on pages and templates.

You can then choose the way content, for example, events are displayed by changing the template which the Events widget uses. For more information, see Create and edit widget templates.

URLs for content items

You can define default pages, with which content items are associated via the respective content widget. Say you have three News items. Once you drop the News widget on a page, these News items are displayed by default on this page. This way, Sitefinity CMS knows the exact URL of each item, which allows you to preview the item as it will be displayed on the website. For more information, see Locations of content items: Canonical URLs.

URLs for media content

The automatic generation of the URL for a file uses the following convention:

http://<my site URL>/<X>/<the URL name of the data source>/<the URL name of the library>/<the URL name of the document or file>.<the file extension> where X is docs for documents and files, images for images, and videos for videos.

  • The URL name of the data provider
    The URL name of the default data provider is default-source.
    You can change the URL name of the data provider in the following way:
    1. In the main menu, click Administration » Settings.
    2. Click Advanced link.
    3. In the tree on the left, click Libraries » Providers.
    4. Select the provider whose URL you want to change and click Parameters » urlName.
    5. In Value, enter the new URL.
      If you enter “”, then the URL name of the data source is not included in the URL of the item.
    6. Click Save changes and restart the application.

      IMPORTANT: You must not change the provider URL name after you have uploaded items, because this can break the URLs of the already uploaded items.

      NOTE: The documents from upgraded projects have URLs that are generated without the data provider name. They will still work and will use the default library provider for the system.

  • The URL name of the library
    The URL name of the default library is default-document-library for documents, default-album for images, and default-video-library for videos.
    The URL names of the other libraries are their names.
  • The URL name of the item

You can change the URL name of an item by editing its properties.

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

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to 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?

Next article

Manage content