Appending Queries to Aliases Ending in a Slash

  • Updated

When you use the Append option with aliases, the slash (/) must present at the end of the alias or the query will not be read.

Appending Queries to alias with slash

For example, if you have the following values:

  • Site URL: www.ektron.com
  • Alias: Ektron
  • Query String: '?type=123'

The URL www.ektron.com/Ektron?type=123 will not work as expected. This can potentially be confusing because the URL www.ektron.com/Ektron without the end slash gets you to the correct page.

Use a slash (/) at the end of the alias. The aliasing code needs the last slash for the query string to be read.

The URL www.ektron.com/Ektron/?type=123 will work as expected.