The file “style.css” is only used for the admin backend. The path for inclusion is set relatively to the plugin directory, with “css/style.css” appended:
wp_register_style( 'tag-groups-css-backend', plugins_url('css/style.css', __FILE__) );
I don’t see any reason why WP would change the name of the plugin directory “tag-groups” to “etiqueta/-groups”. It looks like somewhere a function is replacing the word “tag” in the path with “etiqueta/”.
How do you change the base name to “etiqueta”? Do you use a plugin, or do you have some own code in your .htaccess file?
Hi,
I changed the default “tag” in Settings > Permalinks, where you can set either the category or tag base name. No plugin, no htaccess was necessary.
Thanks for your quick reply!
I’ve now tested again with a custom “Tag base” in the Permalink settings but I cannot reproduce the error. Are you sure
- your .htaccess file is still the original file? (Can you open it in an editor and check if there are mentions of “tag” or “etiqueta”?)
- there is no other plugin active that rewrites URLs or changes the way CSS are handled? (Maybe disable other plugins if it makes a difference)
I found the problem. There was indeed an htaccess rule left behind in the previous incarnation of the site. Thanks for pointing the way!