Hi, In my current SEO team mentioned regarding the internal redirects having ".html" and using dispatcher to redirect to 301 by replacing the ".html" page with a "/". Thus they want me to change all the internal redirects directly replace ".html" to "/" . i have used this blog ( https://wttech.blog/blog/2019/how-to-use-sling-transformers-in-aem/ )as a reference to create a sling rewriter along with a transformer to replace href links starting with "/". Everything works as expected . The transfomer replaces the ".html" with "/" for all the internal links. But the problem comes when the sling rewriter not run mode specific and had to SlingSettingsService to check for run mode and make the change specific to publish instance. Therefore the generatorType for the sling rewriter uses the htmlparser and for rte it runs a loop of transformer factory making the dialog invisible to author for core text rte component. Is there a way to resolve this.?
core text component should show up with rte but the rte is missing after enabling the sling rewriter