• I have been working on a very simple theme (not a child theme) which more or less works except the link to style.css included in the header code isn’t right. There’s no / before style.css.

    It looks like

    <link rel=”stylesheet” id=”blah-css” href=”https://www.blahblah.co.ukstyle.css?ver=4.9.1&#8243; type=”text/css” media=”all”>

    I tried changing siteurl in the wp_config table to have a / on the end (with no great conviction) and it made no difference.

    Wordpress is 4.9.1 and theme is currently little more than ‘minimum theme’

    Any thoughts appreciated.

    • This topic was modified 6 years, 11 months ago by thepurpleblob.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The stylesheet has to be called somehwere. That will either be
    header.php or functions.php in your theme folder. Look at the code in those files and try to find where it calls your style.css.
    See if you are able to add the missing slash there.
    Good luck

    Hello,
    Last comment should be a option for your problem.
    You may also check where your enqueue or register your script and style. May be one slash is missing there.
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing forward slash in style.php URL’ is closed to new replies.