We use Apache HTTP Server Version 2.4 for redirect example-test-1.com/group/ to example-test-1.com/
I can't able to redirect.
Reference URL Below:-
https://httpd.apache.org/docs/2.4/rewrite/remapping.html#old-to-new-intern
Path of configuration file /etc/apache2/sites-enabled/example-test-1.com.conf setting file
< VirtualHost *:80>
ServerName example-test-1.com
ServerAlias example-test-1.com
RewriteEngine on
Redirect permanent /example-test-1.com/group/ /example-test-1.com/
LogLevel warn
ErrorLog /var/log/apache2/example-test-1.com.error.log
CustomLog /var/log/apache2/example-test-1.com.log combined
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
any other way possible to achieve it.
Or, you could check Liferay's own configuration options:
Specify the site name that will default to the company's virtual host. If the specified site has a virtual host, then that will take precedence. If it does not, then it will use the company's virtual host. This property is useful to remove "/web/guest" (or any other site) from the default URL. For example, if this property is not set, then the default URL may be http://localhost:8080/web/guest/home. If this property is set, then the default URL may be http://localhost:8080/home.
Defaults:
Set the private group, private user, and public servlet mapping for com.liferay.portal.servlet.FriendlyURLServlet. This value must match the servlet mapping set in web.xml.
For example, if the private group pages are mapped to "/group" and the group's friendly URL is set to "/guest" and the layout's friendly URL is set to "/company/community", then the friendly URL for the page will be http://www.liferay.com/group/guest/company/community. Private group pages map to a site's private pages and are only available to authenticated users with the proper permissions.
For example, if the public pages are mapped to "/web" and the group or user's friendly URL is set to "/guest" and the layout's friendly URL is set to "/company/community", then the friendly URL for the page will be http://www.liferay.com/web/guest/company/community. Public pages are available to unauthenticated users.
The friendly URL's for users, groups, and layouts can be set during runtime.
Defaults: