[opencms-dev] Problem in Content Migration

Sharad Jain sharadjainleo at gmail.com
Fri Feb 13 06:33:45 CET 2015


Hi List,

I am performing following steps in OpenCMS 9.0.1:
1. Drag and Drop flexible content in container page.
2. Edit flexible content
3. Add source code which contain following line

<ul>
    <li><a href="/abc_product1.html">Product1</a></li>
    <li><a href="/abc_product2.html">Product2</a></li>
    <li><a href="/abc_product3.html">Product3</a></li>
</ul>

4. When I click save & exit and preview the page in browser, OpenCMS 
converts these links into 

<ul>
    <li><a href="/opencms/opencms/abc_product1.html">Product1</a></li>
    <li><a href="/opencms/opencms/abc_product2.html">Product2</a></li>
    <li><a href="/opencms/opencms/abc_product3.html">Product3</a></li>
</ul>

5. When I do static export, OpenCMS again converts these links into 

<ul>
    <li><a 
href="../../../../../opencms/opencms/abc_product1.html">Product1</a></li>
    <li><a 
href="../../../../../opencms/opencms/abc_product1.html">Product2</a></li>
    <li><a 
href="../../../../../opencms/opencms/abc_product1.html">Product3</a></li>
</ul>

Because OpenCMS converting these links internally, these links are not 
working in production environment.

I don't want these links to get converted by OpenCMS. These links should 
remain as I am pasting it while copying source code.

Thanks & Regards,
Sharad Jain






More information about the opencms-dev mailing list