Message Boards

How can I change url in administration pages??

Alberto Gutierrez, modified 2 Years ago.

How can I change url in administration pages??

New Member Posts: 13 Join Date: 5/18/20 Recent Posts

Hi everyone,

I've developed a website desgined with Liferay 7.1 GA. I needed to add a new language (valencian va) so I edited the Catalan Andorran(ca_AD). The problem appears when I access to the administracion pages, the url looks like this:

http://scdesweb.iipp.int/ca_AD/group/control_panel/

How can I change this? How can I skip this ca_AD and add va? I´ve added this in virtual host:

ProxyPass /va http://localhost:8080/ca_AD 
ProxyPassReverse /va http://localhost:8080/ca_AD
ProxyHTMLURLMap http://scdesweb.iipp.int/ca_AD http://scdesweb.iipp.int/va
ProxyHTMLURLMap /ca_AD /va
ProxyHTMLURLMap http://scdesweb.iipp.int/ca_AD/group/home/ http://scdesweb.iipp.int/va/group/home/

But it doesn't work in administration pages (on the others pages of the website it works correctly). I'm thinking if is possible adding a script(it should works replacing /ca_AD for /va) in the adminsitration pages. Is this possible?