w3c validator errors

I 'm having trouble understanding what kind of error the validator is generating. I tried to google my problem but it seems that i can’t find any result.

Here is the error. I’m not really sure what it means.

Bad value http://digitalspin.ph/federalland/wp-content/themes/Federal Land/css/1218.css for attribute href on element link: Whitespace in path component. Use %20 in place of spaces.

Here is the link for the website: http://digitalspin.ph/federalland/

The error is the space between the words Federal and Land


…nd/wp-content/themes/Federal Land/js/flexslider/jquery.flexslider.js"

it is suggesting that you use %20 instead of the space as it will then validate.
Personally I try and avoid space in filenames/paths/folders etc



…nd/wp-content/themes/Federal%20Land/js/flexslider/jquery.flexslider.js"

would work

Oh man thanks, the error was a bit vague or for me technical and i really have no idea what was wrong. :smiley:

Now i have another problem. I renamed the name of my Theme Folder “Federalland” with no spaces in wordpress and the website appears blank when i visit it. I even tried updating the permalink but it only appears blank

Seems to be back online now :slight_smile:

I just reverted it back to Federal Land w/ space. Hmmmm not sure what seems to be the problem.

You could just do a global replace of the space with the %20 code, then you dont need to change anything in your paths.

Hmm how can i do that? This is what my code looks like in the header


<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/1218.css" />
<link rel="stylesheet" href="<?php bloginfo("stylesheet_url") ?>"/>

<!--JQUERY -->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.10.1.min.js"></script>

<!--JQUERY UI -->
<script src="<?php bloginfo('template_url'); ?>/js/jquery-ui.js"></script>

It is the value being returned from the bloginfo(‘template_url’) call so presumably the actual URL only appears in one spot - so once you fid that spot it will be easy to fix…

Might have trouble finding it but thanks for your insights…

Probably found in Settings > general as the root url for your template folder

Managed to fix. Basically once i renamed the folder name of the theme with no spaces, i just had to activate the theme again, update the permalink and fix the navigation. :slight_smile: