From 5cb93a20bb646d24cdaee5a22be93d370cd32cd7 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Mon, 9 Feb 2015 21:20:08 +0000 Subject: [PATCH] A README to give some information and references about and how to use the ecomseo webapp git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658577 13f79535-47bb-0310-9956-ffa450edef68 --- specialpurpose/ecommerce/webapp/ecomseo/README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 specialpurpose/ecommerce/webapp/ecomseo/README diff --git a/specialpurpose/ecommerce/webapp/ecomseo/README b/specialpurpose/ecommerce/webapp/ecomseo/README new file mode 100644 index 0000000000..5762a5001d --- /dev/null +++ b/specialpurpose/ecommerce/webapp/ecomseo/README @@ -0,0 +1,15 @@ +As you are probably aware, OFBiz has a pretty uncommon way of generating URLs. +Most of this has to do with the fact that OFBiz uses a servlet (ControlServlet) to handle all requests. +The servlet is mounted at /control, so that it won't interfere with other servlets. +Though functionally valid, this has the side effect that all URLs are actually created on /control, which is neither pretty, nor good by any measures of SEO. +It also means that a few 302 redirects are necessary to forward the user from / to /control/main. +It also makes requests more complicated, since many forwards are necessary whenever somebody wants to move away from this implementation. + +Since this is hurtful to many of the implementers, The ecomseo functional changes contain: + + Removal of /control out of all the urls + SEO-friendly URLS (by default the suffix .html, see in SeoConfig.xml) + Configurable product/category and other URLs (see in in SeoConfig.xml) + Frontpage mapping from /main to / + +If you want to know more about this feature, please check https://issues.apache.org/jira/browse/OFBIZ-5312