[wp-hackers] wp-content/themes/XY in source-code and direct links to uploaded files

Harish Narayanan harish.mlists at gmail.com
Thu Dec 3 16:25:15 UTC 2009


Florian Woegerer wrote:
> Wordpress always links its stylesheets, images, javascripts to its wp-content/themes/XY/ directory ,same goes for uploads etc.
> 
> is there a way to simple hide the wp-content/themes from the source to not reveal that wp is used and to have a cleaner structure in the code?

Yes, one simple solution is to create a symbolic link to these places
and use those links instead.

e.g. On my journal, I have /actuality/ -> /wp-content/themes/actuality-two/

I am not doing this to hide WordPress use in particular, I just think
the output XHTML looks nicer this way.

Harish


More information about the wp-hackers mailing list