This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8f4cfeb  Fixed: baseEcommerceSecureUrl does not work in ecomseo. 
(OFBIZ-11267)
8f4cfeb is described below

commit 8f4cfeb95185685204e04e778e915b1027234562
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Sat Nov 2 09:43:08 2019 +0100

    Fixed: baseEcommerceSecureUrl does not work in ecomseo.
    (OFBIZ-11267)
    
    This fixes it by introducing a new pattern in SeoConfig.xml
---
 applications/commonext/config/SeoConfig.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/applications/commonext/config/SeoConfig.xml 
b/applications/commonext/config/SeoConfig.xml
index 65bcea9..0462ed4 100644
--- a/applications/commonext/config/SeoConfig.xml
+++ b/applications/commonext/config/SeoConfig.xml
@@ -90,6 +90,19 @@ under the License.
                 <responsecode>301</responsecode>
             </forward>
         </url-config>
+        
+        <url-config>
+            <description>sample: remove /control in baseEcommerceSecureUrl 
(OFBIZ-11267)</description>
+            <url-pattern>^/ecomseo/control/(.*)$</url-pattern>
+            <seo>
+                <replacement>/ecomseo/$1</replacement>
+            </seo>
+            <forward>
+                <replacement>/ecomseo/$1</replacement>
+                <responsecode>301</responsecode>
+            </forward>
+        </url-config>
+        
     </url-configs>
 
     <char-filters>

Reply via email to