{
  "org.apache.sling.urlrewriter.internal.SlingUrlRewriteFilter": {
    "jcr:primaryType":"sling:OsgiConfig",
    "service.ranking": 100,
    "sling.filter.scope": ["REQUEST", "FORWARD"],
    "org.apache.sling.urlrewriter.rewrite.rules": "<?xml version=\"1.0\" encoding=\"utf-8\"?><!DOCTYPE urlrewrite PUBLIC \"-//tuckey.org//DTD UrlRewrite 4.0//EN\" \"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd\"><urlrewrite><rule><from>^/$</from><to type=\"redirect\">%{context-path}/index.html</to></rule><rule><from>^/wp/?$</from><to type=\"redirect\">%{context-path}/wp/admin.html</to></rule></urlrewrite>"
  },
  "org.apache.felix.webconsole.internal.servlet.OsgiManager": {
    "jcr:primaryType":"sling:OsgiConfig",
    "username": "admin",
    "password": "notadmin"
  },
  "org.apache.sling.rewriter.impl.components.HtmlSerializerFactory": {
    "doctype-default": "xhtml5"
  }
}

{
  "org.apache.sling.urlrewriter.internal.SlingUrlRewriteFilter": {
    "jcr:primaryType":"sling:OsgiConfig",
    "service.ranking": 100,
    "sling.filter.scope": ["REQUEST", "FORWARD"],
    "org.apache.sling.urlrewriter.rewrite.rules": "<?xml version=\"1.0\" encoding=\"utf-8\"?><!DOCTYPE urlrewrite PUBLIC \"-//tuckey.org//DTD UrlRewrite 4.0//EN\" \"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd\"><urlrewrite><rule><from>^/$</from><to type=\"redirect\">%{context-path}/index.html</to></rule><rule><from>^/wp/?$</from><to type=\"redirect\">%{context-path}/wp/admin.html</to></rule></urlrewrite>"
  },
  "org.apache.felix.webconsole.internal.servlet.OsgiManager": {
    "jcr:primaryType":"sling:OsgiConfig",
    "username": "admin",
    "password": "notadmin"
  },
  "org.apache.sling.rewriter.impl.components.HtmlSerializerFactory": {
    "jcr:primaryType":"sling:OsgiConfig",
    "doctype-default": "xhtml5"
  }
}

Set default doctype to html5
Set default doctype to html5