• Resolved dukeo

    (@dukeo)


    There is a bug when trying to use a custom XSLT stylesheet.

    I uncheck the “default stylesheet” checkbox, then input the url in the correct input field: https://{edited}.com/wp-content/themes/{edited}/sitemap.xsl

    When I save the page, it reloads and the url is saved as: https://{edited}.com/wp-content/themes/{edited}/sitemap.xsl/

    Notice the difference? The plugin is forcing a trailing slash, thus preventing from using a custom stylesheet.

    Please fix this bug so we can actually style our sitemap the way we want.

    • This topic was modified 4 years, 6 months ago by dukeo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same issue.

    Commenting line 311 in “sitemap-ui.php” fixes this issue.

    Line 311 in sitemap-ui.php: if(!empty($_POST[$k])) $_POST[$k] = trailingslashit($_POST[$k]);

    Dev

    (@devadattas)

    The fix worked. Hope the author fixes this in the plugin code before the next update.

    Plugin Author Auctollo

    (@auctollo)

    @dukeo

    Thank you for submitting this issue.

    Our team has worked on an update that will address this in the latest release, and we recommend updating the plugin.

    Let us know if you are still facing those issues after the update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BUG with Custom XSLT stylesheet’ is closed to new replies.