Actually, I think that I got it fixed after strugling for a while. Reading https://docs.bitnami.com/oci/apps/wordpress/administration/use-htaccess/ was useful. I think think that the modifications to .htaccess file did not work because of the “AllowOverride None” in “httpd-app.conf” file. In many tutorials it is said that modifying .htaccess will fix the issue. However, if I understood right “AllowOverride None” was preventing my changes in .htaccess.