Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter colinlam

    (@colinlam)

    I found the answer from heycam on github

    “XML namespace URLs are really opaque identifiers. The fact that some namespace URLs under w3.org resolve to a page describing them is a convenience. (You might be able to argue for DTD URLs to be updated, since in some XML parsers, those URLs will actually be fetched. But in practice, SVG User Agents don’t operate their XML parsers in validating mode, and so never need to use that URL.)”

    So, it doesn’t appear to be an issue because the http is not an active link. However some SEO checks will tell you your website has mixed content due to the http.

    I think its safe to ignore this warning.
    Cheers

    • This reply was modified 2 years, 9 months ago by colinlam.
    Theme Author Anariel Design

    (@anariel-design)

    Hi, sorry for the delay. I just wanted to check this link you sent but it’s not opening. The new editor is using SVG icons for the socials etc. It’s not part of the theme. But like u wrote you can ignore this issue. Not sure if this was all as I can’t check the link you sent to me.

    Let me know if you need anything more.

    All the best,
    Ana

    Thread Starter colinlam

    (@colinlam)

    Hi Ana,
    The example I gave was not actually a link but was within the html of the page.

    However I have found live links within the page that are http such as <svg xmlns=”https://www.w3.org/2000/svg&#8221; viewBox=”0 0 24 24″ …………………….

    This is in the button class for instance “<button aria-label=”Close menu” data-micromodal-close class=”wp-block-navigation__responsive-container-close”><svg xmlns=”https://www.w3.org/2000/svg&#8221; ”

    Is that code in your theme?

    My website built with your theme is https://tayit.co.uk

    Col

    • This reply was modified 2 years, 9 months ago by colinlam.
    • This reply was modified 2 years, 9 months ago by colinlam.
    • This reply was modified 2 years, 9 months ago by colinlam.
    • This reply was modified 2 years, 9 months ago by colinlam.
    Thread Starter colinlam

    (@colinlam)

    Another link just after the body tag
    “<svg xmlns=”https://www.w3.org/2000/svg&#8221; viewBox=”0 0 0 0″ widt”

    Having live HTTP links in the html will probably affect SEO.

    What’s your thoughts?
    Thanks
    Col

    • This reply was modified 2 years, 9 months ago by colinlam.
    Theme Author Anariel Design

    (@anariel-design)

    Hi Col,

    unfortunately, this is not theme related. This is part of WordPress and blocks.

    All the best,
    Ana

    Thread Starter colinlam

    (@colinlam)

    Hi Ana.
    Yes. Well, on my test site I removed all the social icons and buttons and deactivated all plugins, then activated theme twentytwenty. When I view the code there is no svg code. If I then use a block theme there is lots of svg code.

    To my limited knowledge svg is part of document markup and was always considered to be a security risk.

    I don’t see why it is necessary for website design having used jpeg and png for years with no visual issues. Vector graphics are a blessing in magazine design but simply not required for website display in my opinion.

    Its a bit like bloatware hahaha.

    I would like to remove it all so I better talk to wordpress.

    Have a good day Ana.
    Col

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘HTTP code in theme?’ is closed to new replies.