Posted on 13/10/2021 11:30:58
Not out of the box. And really do not waste your time - it will not improve your SEO. Write better content for your product list pages instead.
Anyways - you can probably create a rewrite rule for IIS in web.config: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module
Alternatively, create a custom Dynamicweb URLProvider and enable it in settings:
using System.Collections.Generic;
using Dynamicweb.Core;
using Dynamicweb.Data;
using Dynamicweb.Extensibility.AddIns;
namespace Dynamicweb.Frontend.UrlProviders
{
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.Browsable(false)]
[AddInName("Paging URL Provider")]
[AddInDescription("Generates urls pagenum=X and change them to /pageX")]
[AddInActive(true)]
[AddInGroup("Paging")]
[AddInTarget("Paging")]
[AddInOrder(10)]
public class NewsItemProvider : UrlProvider
{
/// <summary>
/// Gets the mappings of NewdIDs and their URL names.
/// </summary>
/// <returns></returns>
public override List<Mapping> GetMappings()
{
// Placeholder for holding mappings
var list = new List<Mapping>();
for(var i = 0; i < 100; i++) {
list.Add(new Mapping("PageNum", i.ToString(), $"page{i}"));
}
return list;
}
}
}