I am using Pagebuilder to build link and simple pages.
The following link works perfectly in dynamic mode and only once in static mode. When clicking on the link a second time in static mode an additional folder appears in the file path ( ie. /folder/file.html becomes /folder/folder/file.html)
The problem only occurs with a simple page while other links pages that use the same syntax there is no problem in dynamic or static mode.
<a href="<%if d%><%db_cgi_url%>/page.cgi?page=pagename<%else%>folder/page.html<%endif%>">About RENX</a>
In page builder the build directory is the same folder specified in the static path shown above. Nevertheless this same syntax works for a PageBuider links page.
There is no doubt a simple solution but I am stuck.
The following link works perfectly in dynamic mode and only once in static mode. When clicking on the link a second time in static mode an additional folder appears in the file path ( ie. /folder/file.html becomes /folder/folder/file.html)
The problem only occurs with a simple page while other links pages that use the same syntax there is no problem in dynamic or static mode.
<a href="<%if d%><%db_cgi_url%>/page.cgi?page=pagename<%else%>folder/page.html<%endif%>">About RENX</a>
In page builder the build directory is the same folder specified in the static path shown above. Nevertheless this same syntax works for a PageBuider links page.
There is no doubt a simple solution but I am stuck.