As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
/** * @see org.alfresco.wcm.client.Section#getIndexPage() */ @Override public Asset getIndexPage() { return getAsset("index.html"); }
### WCM QS Configuration Properties ### wcmqs.indexpage=index.shtml
// Redirect /some-url/index.html to /some-url/ to avoid duplicate URLs being flagged by search engines. // Also Spring Surf resolves index.html requests so DynamicPageViewResolver doesn't get to process them. if (path.endsWith("/index.html")) { int lastDelim = path.lastIndexOf('/'); String uri = context + path.substring(0,lastDelim+1); RedirectView redirect = new RedirectView(uri,false,false); redirect.setStatusCode(HttpStatus.MOVED_PERMANENTLY); return new ModelAndView(redirect); }