Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #179 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Sitemap tied to FriendlyUrlRewriter

Reported by: m.brailsford@… Owned by: jacob@…
Priority: minor Component: SearchEngineSitemaps
Keywords: Cc:

Description

Currently the sitemap is tied to the FriendlyUrlRewriter. In my project, I have extended the URL rewriter so don't use the standard one. To use the currently configured URL rewrite provider remove:

EPiServer.Web.FriendlyUrlRewriteProvider urm = new EPiServer.Web.FriendlyUrlRewriteProvider();

And use the following global reference instead:

EPiServer.Global.UrlRewriteProvider

Many thanks

Matt

Change History

comment:1 in reply to: ↑ description Changed 8 years ago by m.brailsford@…

Replying to m.brailsford@…:

Forgot to mention those changes need to be made in the XMLGenerator.cs file.

Matt

Currently the sitemap is tied to the FriendlyUrlRewriter. In my project, I have extended the URL rewriter so don't use the standard one. To use the currently configured URL rewrite provider remove:

EPiServer.Web.FriendlyUrlRewriteProvider urm = new EPiServer.Web.FriendlyUrlRewriteProvider();

And use the following global reference instead:

EPiServer.Global.UrlRewriteProvider

Many thanks

Matt

comment:2 Changed 7 years ago by mari@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See HelpUser/Tickets for help on using tickets.