oo

Configuring Individual Pages

You can configure individual pages to meet your needs. All changes made in this way are scoped to the selected page.

To configure a specific page, open the Site Menu (Site Menu) and go to Site BuilderPages. Then click Actions (Actions button) for the page you want to customize and select Configure.

Click the Actions button for the page you want to customize, and select Configure

Alternatively, you can access general page settings by clicking Actions (Actions button) → Configuration (Configuration button) at the top right of the Application Bar.

These settings are organized into the following tabs:

note

Many of these settings can be localized to provide translations based on a user’s locale. See Initial Instance Localization and Modifying Localizable Site Fields for more information.

General

Here you can configure the basic information of a page, including its name, friendly URL, layout, and more.

Basic Info

Use the name field to set a page’s title used for site navigation and displayed in a browser’s title bar. You can hide a page from menu display when it is configured to display the page hierarchy. When enabled, a hidden page still appears in other navigation menus if added to them. See Managing Page Hierarchies for more information.

Use the name field to set the page's title and check the checkbox to hide it from menu display.

note

Child pages inherit the parent page’s visibility. Also, hidden pages are not displayed on the default navigation menu, but can be displayed on any other created navigation menu.

URL

Use the Friendly URL field to set a new URL for a page, or click the Restore icon (Friendly URL Restore icon) to see and restore a previously used URL. See Configuring Your Page’s Friendly URL for more information.

Use Query String to set default parameters for a page when no other parameters are specified. Query strings offer significant advantages within web content templates. Additionally, you can control page link behavior by using the Target Type field, which has attributes like opening the link in a new tab or within a specific frame.

Use the Friendly URL field to set a page's custom URL.

tip

While a page’s name and friendly URL are initially defined together at page creation, they are configured independently afterwards. It is best practice to update them together so that they match.

Page Layout

Layout templates dictate where widgets can be placed on a widget page. For basic widget pages created using either a global template or custom page template, the user can determine whether the page Inherits Changes made to the chosen template. If the page does not inherit changes, select a custom layout to define row and column containers for its widgets.

Select a layout template to define row and column containers for widgets.

Categorization

Use Topics and Tags to categorize a page’s content so users can more easily find it. For more information on using tags and categories, see Organizing Content with Tags and Categories.

Use Topics and Tags to categorize a page's content

Customization Settings

Determine whether a widget page’s columns are Customizable for users. If customization is enabled, specify the columns users can customize. See Enabling User Personalization of Widget Pages for more information.

Determine whether users can customize a widget page.

Design

Here you can configure the theme of your page and customize its design, CSS and JavaScript. You can also access this editor in a page set’s configuration page.

Theme

Here you can use the page set’s theme settings or define a custom theme for your page. When you choose to customize the page’s theme, you can toggle various theme settings.

Determine whether to use the page set's theme settings or define a custom theme for your page.

Basic Settings

Here you can quickly and easily change some areas of your page’s design system and styling.

Favicon: Change the default favicon applied from the theme.

Master: Change the master page template. See Master Page Templates for more information.

Style Books: Change the default style book applied from the theme. See Using a Style Book to Standardize Site Appearance for more information.

Icon: Choose an icon to display along with page’s name in the site’s navigation menus.

Determine the favicon, master page template, style book and icon for your page.

note

Content pages also include Master and Style Book settings in the Edit sidebar menu under Page Design Options (Page Design Options icon).

Customization

You can also access a CSS and JavaScript editors where you can add custom code to the page.

Theme CSS Client Extension: Add theme CSS client extensions to fully replace the default CSS contained in the theme.

CSS Client Extensions: Add CSS client extensions to extend the page’s CSS with client extensions. They are loaded after the theme CSS and after master extensions.

Custom CSS: Custom CSS can be applied and is loaded after the theme.

JavaScript Client Extension and Custom JavaScript: JavaScript client extensions can be added to have JavaScript run when the page using this master page template is visited. Custom JavaScript code can also be added and is executed at the bottom of the page.

Use CSS and JavaScript editors to add custom code to the page

tip

If your site’s theme uses JavaScript, it’s best to add custom JavaScript code to the theme rather than an individual page or page set. This ensures your site’s JavaScript code remains in one place. If your theme does not use JavaScript, place all of your site’s JavaScript code here.

Advanced Settings

Access additional settings to customize a page’s content and features.

Custom Fields: View and configure the Custom Fields you’ve defined for site pages. See Custom Fields for more information.

Embedded Widgets: Access widgets you’ve embedded in a page using Web Content Templates, Page Fragments, or Themes.

Mobile Device Rules: Determine whether a page uses its page set’s rules for mobile devices or is uniquely configured. These rules determine how a page’s content renders for different types of mobile devices.

note

The Custom Fields and Embedded Widget sections only appear once you’ve created custom fields and embedded widgets in a page.

SEO

Search Engine Optimization (SEO) refers to the methods used to improve your page’s ranking in Search Engine Results Pages (SERP). The SEO tab provides easy access to settings you can use to optimize your page’s content. See Configuring SEO and Open Graph for more information about the following settings.

HTML Title

Use the HTML title field to define a page’s <title> tag. This title is used by search engines to rank your page and serves as the page’s heading in search engine results, though without replacing a page’s name. The recommended length for an HTML title is under 60 characters.

Description

Use the description field to define a page’s <description> tag. This description is used by search engines to rank your page and also appears in search result previews of your page. The recommended length for a description is under 155 characters.

Custom Canonical URL

Set a custom canonical URL for a page. Custom URLs configured in this manner take precedence over the System Settings configuration.

Keywords

List words that people are likely to use when searching for your page’s content. These keywords contribute to your page’s ranking.

tip

Use keywords often throughout your page’s content, including titles, headings, descriptions, paragraphs, and image alt text.

Set the page's HTML title, description, custom canonical URL and keywords to improve your page's ranking in Search Engine Results Pages (SERP)

Preview

Preview how a page is displayed in Search Engine Results Pages (SERP) based on your configuration of its HTML title, description, and custom URL.

Preview how a page is displayed in search engine results.

Robots

Configure robots.txt rules for a page. These rules provide instructions to search engines and other tools crawling and indexing your site, either blocking or granting a crawler access to a specified path.

Configure robots.txt rules for your page to provide instructions to search engines

Sitemap

Determine whether a page is included in the sitemap used by site crawlers. By excluding a page, you instruct site crawlers to skip it when crawling and indexing your site.

Page Priority

Set a page’s priority from 0.0 to 1.0. This informs tools crawling and indexing your site how a page should be prioritized relative to other pages in your site.

Change Frequency

Use the drop-down menu to inform tools crawling and indexing your site how frequently a page is updated.

Determine if the page is included in the sitemap, and set its page priority and change frequency

Open Graph

Available: Liferay DXP/Portal 7.3+

Open Graph is an Internet protocol that standardizes previews of site content when shared in application contexts that support it, such as Twitter, Facebook, or LinkedIn. It does this by embedding structured data in page headers as <meta> tags, similar to RDFa.

In the Open Graph tab, you can use Open Graph <meta> tags to define a page’s metadata and create engaging representations of your content. Values defined here override default values defined at the site level.

note

Open Graph <meta> tags are only included in page headers to unauthenticated users. They are not included when the user is logged in.

Image

Use the image field to define the following Open Graph <meta> properties for a page:

<meta property="og:image" content="http://example.com/ogp.jpg" />
<meta property="og:image:secure_url" content="https://secure.example.com/ogp.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />

Image Alt Description

Use the image alt description field to define the og:image:alt property for a page. You can also localize an image’s alt description via the Language Flag button.

Custom Title and Description

Use the custom title and description fields to define the og:title and og:description properties. These properties create custom text used for rich previews in place of a page’s HTML title and description. You can also localize these values via their Language Flag buttons.

Preview Open Graph Page Representation

Preview your page’s Open Graph configuration. This section displays how your page’s content appears when its URL is shared in contexts supporting the protocol. Though an image’s ratio may change depending on where the URL is posted.

Preview your Open Graph configuration.

Custom Meta Tags

Here you can add custom <meta> tags to the <head> of a page. These tags are only visible in a page’s HTML source code and are used to describe a page’s data and determine how that data is displayed in different contexts, such as search engine results and social media posts. Each tag is defined using property and content attributes.

Add custom meta tags to a page's head using the Property and Content fields.

Capability: