Title: Problem with CSS file
Last modified: August 21, 2016

---

# Problem with CSS file

 *  [mdidesign](https://wordpress.org/support/users/mdidesign/)
 * (@mdidesign)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-css-file/)
 * Hello,
 * there exists a problem with the CSS file. I would like to use W3 Total Cache 
   to minify this CSS (of course) and usually it works well with plugins. But this
   plugin uses such an URL for the CSS file (I replace the domain and some other
   values with XXXXX):
 * [http://www.XXXXX.de//wp-content/themes/xxxxx/multi-column-tag-map/mctagmap.css?mctm_ver=12.0.4](http://www.XXXXX.de//wp-content/themes/xxxxx/multi-column-tag-map/mctagmap.css?mctm_ver=12.0.4)
 * As you can see there is 1) a double-slash directly after the domain. This is 
   because in your “mctagmap.php” there is this line:
 * `echo '<link rel="stylesheet" href="'.home_url('/').substr($mctagmapCSSpath, 
   1).'/mctagmap.css?mctm_ver='.$mctagmapVersionNumber.'" type="text/css" media="
   screen" />';`
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * If you change “home_url(‘/’)” to “home_url()” this double-slash gets away – as
   it has to.
 * And you can see this “?mctm_ver=12.0.4” at the end of the URL, which is not necessary.
   If you change “/mctagmap.css?mctm_ver=’.$mctagmapVersionNumber.” to “/mctagmap.
   css” it gets away, too.
 * This is the solution – but with every update of your plugin I have to make these
   changes again and again. Could you please fix this issue with an update?
 * Regards
 * [http://wordpress.org/plugins/multi-column-tag-map/](http://wordpress.org/plugins/multi-column-tag-map/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [mdidesign](https://wordpress.org/support/users/mdidesign/)
 * (@mdidesign)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-css-file/#post-4526824)
 * BTW: The same thing with JS-files… :-/ It shows a double-slash, too, due to the
   fact that “home_url(‘/’)” is used.
 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-css-file/#post-4526901)
 * [http://codex.wordpress.org/Function_Reference/home_url](http://codex.wordpress.org/Function_Reference/home_url)
 * note that by **default**, home_url() returns without a slash.
 * > And you can see this “?mctm_ver=12.0.4” at the end of the URL, which is not
   > necessary. If you change “/mctagmap.css?mctm_ver=’.$mctagmapVersionNumber.”
   > to “/mctagmap.css” it gets away, too.
 * That’s so I can tell what version someone is using when they come here for a 
   problem. Of course you can remove it or change it. Its an URL variable.
 *  Thread Starter [mdidesign](https://wordpress.org/support/users/mdidesign/)
 * (@mdidesign)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-css-file/#post-4526903)
 * Thanks for your answer. I just would like to have the option to update this plugin
   without having to edit the files of the plugin again. So yes, I have already 
   edited the files, so that it works now. But I guess with the next update all 
   changes will be gone again.
 * Other plugins do not have this problem of double-slashes, just this one here.
   So I guess there can be a great solution for the problem without having to edit
   the files again and again?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with CSS file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multi-column-tag-map_9e2525.svg)
 * [Multi-column Tag Map](https://wordpress.org/plugins/multi-column-tag-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multi-column-tag-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multi-column-tag-map/)
 * [Active Topics](https://wordpress.org/support/plugin/multi-column-tag-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multi-column-tag-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multi-column-tag-map/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mdidesign](https://wordpress.org/support/users/mdidesign/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/problem-with-css-file/#post-4526903)
 * Status: not resolved