<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Modify URL on address bar of browser generate from Ivy</title><link>https://answers.axonivy.com/questions/3092/modify-url-on-address-bar-of-browser-generate-from-ivy</link><description>&lt;p&gt;Hi All.&lt;/p&gt;
&lt;p&gt;Is it possible to modify Ivy generated URLs ?
For example. I have process user login. User Login Processes/UserLogin/userLogin.ivp
when I start the process it redirects to the page:
&lt;a href="http://domain.com/ivy/faces/instances/Portal/applicaton/161544002F5E30CF/applicationcom/Login.xhtml"&gt;http://domain.com/ivy/faces/instances/Portal/applicaton/161544002F5E30CF/applicationcom/Login.xhtml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would like to modify the second link.
&lt;a href="http://domain.com/ivy/faces/instances/Portal/applicaton/161544002F5E30CF/applicationcom/Login.xhtml"&gt;http://domain.com/ivy/faces/instances/Portal/applicaton/161544002F5E30CF/applicationcom/Login.xhtml&lt;/a&gt; to
&lt;a href="http://domain.com/login."&gt;http://domain.com/login.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How to config ivy to make &lt;a href="http://domain.com/login"&gt;http://domain.com/login&lt;/a&gt; doesn't redirect to .xhtml
because of the problem:&lt;/p&gt;
&lt;p&gt;Many users will bookmark the login page but it gets directly resolved into an xhtml page which leads to problems in Ivy. Next time the user visits the bookmark the login xhtml will have issues.
Sharing links will not work either because users will copy&amp;amp;paste the xhtml files.
Thank you!&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3092/modify-url-on-address-bar-of-browser-generate-from-ivy" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 05 Feb 2018 03:54:54 -0500</lastBuildDate><item><title>Answer by Reto Weiss</title><link>https://answers.axonivy.com/questions/3092/modify-url-on-address-bar-of-browser-generate-from-ivy/3098</link><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;The redirect to this instances url is fundamental in Axon.ivy and cannot be changed. &lt;/p&gt;
&lt;p&gt;However, a solution could be to use NGNIX as a Proxy Server to Axon.ivy. In NGNIX implement some rules that rewrites the URL of /ivy/faces/instances/Portal/application/*/applicationcom/Login.xhtml to /login if for example the session cookie JSessionId is missing or if Axon.ivy returns a 4xx error when invoking the original URL.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Reto Weiss, Axon.ivy Support&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reto Weiss</dc:creator><pubDate>Mon, 05 Feb 2018 03:54:54 -0500</pubDate><guid>https://answers.axonivy.com/questions/3092/modify-url-on-address-bar-of-browser-generate-from-ivy/3098</guid></item></channel></rss>