Re: Change the URL in the browser while redirecting the user to aliasTo option of pathAlias

2019-05-09 Thread Deepak Dixit
+1

This is the case of redirection, like if you updated URL of your page/blog,
It should redirect to a new URL with response status moved temporarily or
moved permanently

Please feel free to open jira ticker for the same.

Kind Regards,
Deepak Dixit
DIRECTOR OF PRODUCT ENGINEERING
mobile: +91 9826754548
email: deepak.di...@hotwax.co
*www.hotwax.co *


On Thu, May 9, 2019 at 6:09 PM Pawan Verma 
wrote:

> Hello Devs,
>
> In CMS, we can redirect the user to different path alias using 'aliasTo'
> field of *WebSitePathAlias* entity.
>
> Example -
>   fromDate="2019-05-01 00:00:00.0"  aliasTo="newDemoHome"  />
>
> Based on the above data, if the user hit the
> https://localhost:8443/cmssite/cms/demoHome, the CMS will internally
> render
> the content for 'newDemoHome' pathAlias.
>
> As per my observation, the content for  "newDemoHome" is rendered properly
> (as expected) but the URL of the page (in browser) doesn't change. IMO, we
> should also update the URL also, i.e. change browser URL from
>
> https://localhost:8443/cmssite/cms/demoHome to
> https://localhost:8443/cmssite/cms/newDemoHome
>
> Please let me know your thoughts. Thanks!
> --
> Kind Regards,
> *Pawan Verma*
>


Re: Change the URL in the browser while redirecting the user to aliasTo option of pathAlias

2019-05-09 Thread Jacques Le Roux

Le 09/05/2019 à 14:28, Pawan Verma a écrit :

Hello Devs,

In CMS, we can redirect the user to different path alias using 'aliasTo'
field of *WebSitePathAlias* entity.

Example -
  

Based on the above data, if the user hit the
https://localhost:8443/cmssite/cms/demoHome, the CMS will internally render
the content for 'newDemoHome' pathAlias.

As per my observation, the content for  "newDemoHome" is rendered properly
(as expected) but the URL of the page (in browser) doesn't change. IMO, we
should also update the URL also, i.e. change browser URL from

https://localhost:8443/cmssite/cms/demoHome to
https://localhost:8443/cmssite/cms/newDemoHome

Please let me know your thoughts. Thanks!

+1

Jacques