Thread Starter
fwkart
(@fwkart)
For Example:
<svg
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none">
<div
class="elementor-star-rating" title="5/5" itemtype="http://schema.org/Rating" itemscope="" itemprop="reviewRating">
-
This reply was modified 2 years, 11 months ago by fwkart.
I think it’s recommended to use the schema.org links as http. Since it’s not a website that anyone visits but only a set of instructions for the search engine crawlers. It’s safe to be ignored anyway.
Edit: Both versions are officially supported.
Thread Starter
fwkart
(@fwkart)
Hello.
Yes I understand. But obviously it is still not correct. Addressed URLs already offer https URLs. It is obviously wrong if on a https:// web page, in the source code http:// URLs are written.
It’s no problem for the developer to change these URLs via search and replace. I also change them after each update. This takes 5 seconds plus the upload.
I am curious to know if coding such as:
<svg
xmlns="//www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none">
would solve the issue?
Hello,
The “<svg xmlns=”http://www.w3.org/2000/svg..” is a namespace and not a url even though it appears as a url declaration. The browser does not see this as a url nor treats as such.
The key here being the attribute is xmlns= and not atts expecting actual urls like src=, href=, etc. Therefore, it won’t affect the SSL results as it isn’t a URL.
For reference:
> https://www.w3.org/2000/svg
> https://stackoverflow.com/questions/39974821/svg-creates-http-instead-https-on-non-absolute-url
I hope this was helpful.
Best regards,