“href=”//” in html
-
We’ve created a staging site using siteground, but we’re running in the issue that anonymous users get html with paths that start with
//instead ofhttps://.Disabling Swift performance cache makes no difference, but completely disabling Swift performance makes the issue disappear.
Below is our head, after removing things like inline styles, scripts and meta tags. As you can see there are also valid urls in there.
html <head> <link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="canonical" href="https://www.staging42.metabolic.nl/" /> <script async="" src="//www.googletagmanager.com/gtm.js?id=GTM-NNRXF92" ></script> <!-- / Yoast SEO plugin. --> <link rel="dns-prefetch" href="//mlombw7jtauz.i.optimole.com" /> <link rel="preconnect" href="https://mlombw7jtauz.i.optimole.com" /> <link rel="alternate" type="application/rss+xml" title="Metabolic » Feed" href="https://www.staging42.metabolic.nl/feed/" /> <link rel="alternate" type="application/rss+xml" title="Metabolic » Comments Feed" href="https://www.staging42.metabolic.nl/comments/feed/" /> <link rel="dns-prefetch" href="//mlombw7jtauz.i.optimole.com" /> <link rel="dns-prefetch" href="//www.googletagmanager.com" /> <link rel="dns-prefetch" href="//fonts.gstatic.com" /> <link rel="dns-prefetch" href="//www.metabolic.nl" /> <link rel="prefetch" href="//www.staging42.metabolic.nl/wp-content/cache/swift-performance/www.staging42.metabolic.nl/js/ff2aee6e9aa1d2bb8ecfc0227d554135.js" as="script" crossorigin="" /> <link rel="https://api.w.org/" href="https://www.staging42.metabolic.nl/wp-json/" /> <link rel="alternate" type="application/json" href="https://www.staging42.metabolic.nl/wp-json/wp/v2/pages/55150" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.staging42.metabolic.nl/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.staging42.metabolic.nl/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.6" /> <link rel="shortlink" href="https://www.staging42.metabolic.nl/" /> <link rel="alternate" type="application/json+oembed" href="https://www.staging42.metabolic.nl/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.staging42.metabolic.nl%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://www.staging42.metabolic.nl/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.staging42.metabolic.nl%2F&format=xml" /> <!-- Generated with Outfunnel Web Tracking plugin v1.4.4 --> <!-- / Outfunnel Web Tracking plugin --> <!-- Google Tag Manager for WordPress by gtm4wp.com --> <!-- End Google Tag Manager --> <!-- End Google Tag Manager for WordPress by gtm4wp.com --> <meta name="generator" content="Optimole 2.5.7" /> <link rel="icon" href="https://mlombw7jtauz.i.optimole.com/2UhhG5g.pfNR~ed4b/w:32/h:32/q:100/https://www.staging42.metabolic.nl/wp-content/uploads/2018/03/cropped-Metabolic-Logo-Red-HR.png" sizes="32x32" /> <link rel="icon" href="https://mlombw7jtauz.i.optimole.com/2UhhG5g.pfNR~ed4b/w:192/h:192/q:100/https://www.staging42.metabolic.nl/wp-content/uploads/2018/03/cropped-Metabolic-Logo-Red-HR.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://mlombw7jtauz.i.optimole.com/2UhhG5g.pfNR~ed4b/w:180/h:180/q:100/https://www.staging42.metabolic.nl/wp-content/uploads/2018/03/cropped-Metabolic-Logo-Red-HR.png" /> <meta name="msapplication-TileImage" content="https://mlombw7jtauz.i.optimole.com/2UhhG5g.pfNR~ed4b/w:270/h:270/q:100/https://www.staging42.metabolic.nl/wp-content/uploads/2018/03/cropped-Metabolic-Logo-Red-HR.png" /> <script src="https://cdn.outfunnel.com/c.js?v=2021-02-10"></script> <script async="" src="https://d5jmkjjpb7yfg.cloudfront.net/v2/latest/optimole_lib_no_poly.min.js" ></script> </head>
The topic ‘“href=”//” in html’ is closed to new replies.