Hello community, please how do I regenerate the .htaccess file? I tried a permanent redirect of http:// domainx.com to secured https://domainx.com. Unfortunately, it returned a redirect error on the site homepage (page not found, redirect taking too long) and moved the index.html page to a different url on the domain. It returns the index.html to the homepage when the .htaccess file is renamed (deactivated) but breaks every other link on the site (the url cannot be found on the server).
How can I generate a fresh .htaccess file? Thanks
Comments
Hello @Benny !
If I've got you right then you may try to get it directly here and replace the current one
https://github.com/unaio/una/blob/master/.htaccess