This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » General » siteaccess added 2 times in URL

siteaccess added 2 times in URL

siteaccess added 2 times in URL

Wednesday 08 May 2013 2:17:26 pm - 1 reply

I am getting my siteaccess added 2 times in URL when I am submitting a form using /content/edit
My form action looks like this
and when I submit the form the redirect adds 2 times the siteaccess 'de'

What could be the reason behind this?

Wednesday 08 May 2013 4:06:51 pm

Found the solution

I was building the url dynamically

{def $action = concat("/content/edit/", $, "/", $edit_version, "/", $edit_language|not|choose(concat($edit_language, "/"blunk.gif Emoticon, ''))

and the form was placed like this
<form enctype="multipart/form-data" method="post" action="{$action|ezurl(no)}" class="form-horizontal">
When I removed the "|ezurl(no)" it works fine.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from