I changed both Search Engine Friendly URLs to Yes and Use URL Rewriting to Yes in Global Configuration and renamed the .htaccess.txt to .htaccess .
But, now none of my templates work anymore.
I have success in making the URLs cleaner (removing the index.php from them), but the templates break. The links work without any problem.
I tried to follow some tutorials without success:
I believe the mod_rewrite module is not the problem because the "new" links work properly.
The site is hosted in a webserver using Apache. The Joomla version is 3.6.5 .
Does anyone have any idea about what can be happening?