Link management (Community Edition )

You may prefer URLs that end with a trailing slash rather than file extensions like .html or .jsp, so that your site consistently uses a single URL style and avoids search engines treating different variants as separate pages. Also, configuring trailing slashes allows for automated redirects and canonical tags, ensuring consistent links for better ranking and link equity.

This page shows you how to configure links in Magnolia. You must place the following property file in a Magnolia bootstrap folder before startup. Setting the value of appendTrailingSlash to true ensures that any generated URL links in Magnolia end with /.

magnolia-core/src/main/resources/mgnl-bootstrap/core/config.server.rendering.linkManagement.xml
 </sv:property>
  <sv:property sv:name="appendTrailingSlash" sv:type="Boolean">
    <sv:value>true</sv:value>
   </sv:property>
Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the DX Core docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules