If I install Typo3 with Softaculous on a web hosting server with cPanel, after installation to access the site I need to go to: my-domain.com/public.
In the public folder the index.php is present but I want to have a clean site name, just the my-domain.com.
Changing the sites/main/config.yaml will not help and give a 404 error. Tried to do modification to the .htaccess, but still no luck.
To get the clean url one needs to configure a server which points to a public directory. Many of our users are on shared hosting environment and this is not possible there.
To remove the `/public` from your Typo3 URL, move the files from the `/public` directory to the root of your domain (e.g., `public_html`). Update the `.htaccess` file to handle redirects, and ensure that the `TYPO3_SITE_URL` in the configuration reflects the root domain. You may also need to clear the Typo3 cache and check file permissions. After this, the site should be accessible at `my-domain.com` without the `/public` in the URL.