Is it possible to hide the name of a Joomla 3 template, e.g while looking at 'view source' in a browser?

I know it's possible to rename the temate but this doesn't hide the name, it's still visible in all the css/js paths etc

I assume there are a lot of template related urls that would need changed or hidden? Not sure if anything can be changed in the .htaccess or not?

Any suggestions welcome.

3 Answers 3


You can, sort of... but you have to be careful. Take this scenario:

RewriteEngine On
RewriteBase /
RewriteRule ^css/(.*) /templates/purity_iii/css/$1 [L]
RewriteRule ^js/(.*) /templates/purity_iii/js/$1 [L]

This would work fine, as long as you don't have any css or js outside of your theme path, for example:


So in short, it depends on the template you're using, and your skill with htaccess.

  • as long as you don't have any css or js outside of your theme path >> So seeing as Joomla 3.x by default imports JS files from the above directory, will your RewriteRule work?
    – Lodder
    Commented Nov 27, 2014 at 16:35
  • 1
    No, those would remain as is. If you wanted to remove that as well it would mean stopping the bootstrap auto loader, and manually adding each of the JS files.
    – James
    Commented Nov 28, 2014 at 19:19

The only thing you can do that I know of is rename the template folder of the template you're using. This may seem like it makes no difference but sometimes it can, especially if you're using a one from a popular template provider where the prefix is well known.

If you do change your template folder name, make sure you reactivate it in the Template Manager so the new name is taken into account


It is actually easy (just discovered) In admin go to extensions and click templates, then on the left click templates Click the link to your template It will show you the structure and files on the left, at the top click copy template Give it a new name

Thats it, now you have a copy of the template in your own name

  • Congrats on responding to a two year old question...
    – James
    Commented Jul 27, 2016 at 10:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.