• Resolved wildernessdave

    (@wildernessdave)


    The code in the head <script> that yoast inserts has URLs that seem like they are not formatted correctly.

    Many show as https:\/\/wildernessclassroom.org\/#website . Why are there \/ in urls rather than //?

    Is it normal that it is formatted like this? If not, how can I correct this? Code from header is below. I have looked at many pages and they all seem to have the same type of url formatting with \/ in urls.

    Thanks for any help you can provide.

    Dave

    <!– Admin only notice: this page does not show a meta description because it does not have one, either write it for this page specifically or go into the [SEO – Search Appearance] menu and set up a template. –>
    <meta name=”robots” content=”index, follow” />
    <meta name=”googlebot” content=”index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1″ />
    <meta name=”bingbot” content=”index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1″ />
    <link rel=”canonical” href=”https://wildernessclassroom.org/&#8221; />
    <script type=”application/ld+json” class=”yoast-schema-graph”>{“@context”:”https:\/\/schema.org”,”@graph”:[{“@type”:”WebSite”,”@id”:”https:\/\/wildernessclassroom.org\/#website”,”url”:”https:\/\/wildernessclassroom.org\/”,”name”:””,”description”:”Educational Adventures”,”potentialAction”:[{“@type”:”SearchAction”,”target”:”https:\/\/wildernessclassroom.org\/?s={search_term_string}”,”query-input”:”required name=search_term_string”}],”inLanguage”:”en-US”},{“@type”:”ImageObject”,”@id”:”https:\/\/wildernessclassroom.org\/#primaryimage”,”inLanguage”:”en-US”,”url”:”https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img\/https:\/\/websitedemos.net\/entrepreneur-07\/wp-content\/uploads\/sites\/390\/2018\/12\/quotes-free-img.png”},{“@type”:”WebPage”,”@id”:”https:\/\/wildernessclassroom.org\/#webpage”,”url”:”https:\/\/wildernessclassroom.org\/”,”name”:”Home -“,”isPartOf”:{“@id”:”https:\/\/wildernessclassroom.org\/#website”},”primaryImageOfPage”:{“@id”:”https:\/\/wildernessclassroom.org\/#primaryimage”},”datePublished”:”2020-07-15T21:48:54+00:00″,”dateModified”:”2020-07-17T13:32:22+00:00″,”inLanguage”:”en-US”,”potentialAction”:[{“@type”:”ReadAction”,”target”:[“https:\/\/wildernessclassroom.org\/”]}]}]}</script>
    <!– / Yoast SEO plugin. –>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support devnihil

    (@devnihil)

    @wildernessdave The \ character is used when a character is ‘escaped’. This is defined as ‘a character that invokes an alternative interpretation on subsequent characters in a character sequence. An escape character is a particular case of metacharacters. Generally, the judgement of whether something is an escape character or not depends on the context.

    Basically, certain characters will be interpreted by a script as part of the scripting language instead of part of the value of the URL unless it is specified, which is what an escape character does.

    Thread Starter wildernessdave

    (@wildernessdave)

    Thank you. I appreciate your clear explanation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘strange URL formate in head’ is closed to new replies.