You might find that you do not want to solve this one. Links starting //example.com are protocol agnostic. This means it will load over whatever the site it is on loads over. Be that http, https, or some truly esoteric.
You should find that links like this work in both secure and insecure connections just fine. It looks odd if you have never seen it before but it works really well.
Related Posts:
- How do you retrieve a post by slug name through REST API?
- Why “?v=hash” is added to my URLs? [closed]
- Detecting a WordPress URL without doing a full HTTP GET?
- How does WordPress generate URL slugs?
- How does routing on wordpress work?
- Redirecting to old domain after migration
- Unwanted media library URLs in posts?
- How to remove file versions from the file source links in wp_head?
- Add menu and submenu in admin with a URL instead of slug?
- Update media file url in wordpress media library
- Change logo url link
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Dynamic URL generates dynamic content
- Moving wp-content outside of web root?
- Pages redirected to attachment post
- Get url from file uploaded in Media Library
- Best way of removing emoji support from url / slug only
- Password protected page Hash url
- Which of WordPress’s .php files need to be directly accessible via HTTP?
- How do I override the emoji url?
- Site broken after using URL Change in Admin
- How to add domain security certification, in WordPress website?
- Custom Post type permalink structure with custom_post_id
- Setting a url for a page
- Is it necessary to check for `content-type` in headers?
- pass user id in slug and get user information
- What is the correct way to convert the absolute path of the executing script to a URL, in WordPress?
- How to allow — in category name
- Request parameters in $_GET do not match URL called
- WordPress custom search url
- The requested URL was not found only on localhost
- 404 error when passing “cat” parameter to URL
- Is it possible to configure WordPress’s Core Files to accept duplicate Child Categories?
- Problem with utf8 link
- remove query string from homepage url
- Twitter shortlink 404 not found [closed]
- how to trace a file by the route url
- WP URL /icons returns 403 forbidden error
- Get root folder without domain
- wordpress.com website url structure [closed]
- Block direct url enter
- How do you make homepage redirect to it’s slashed version?
- HTTP 403 Error when passing parameters to URL
- How to remove my website link when adding a link?
- Can i have access to my WordPress Website again?
- How to make pages slug have priority over any category
- Site transferred to new server produces 404s
- How can I make my blog urls have words of the title in them?
- Change URLs depending on alias
- Passing values through url for checkbox fields with same name to get?
- Random string added end of the url blog page wordpress [closed]
- Custom HTML title based on URL parameter
- How do I avoid messing up URLs when switching from example.com/subdir to example.com?
- Made WordPress URL and site address URL the same
- How can i get rid of wp in front of URL
- Alternatives to site_url() and get_template_directory_uri()
- WordPress File URL Path Incorrect
- Adding more onto an esc_url [closed]
- Unicode characters are saved in a funny way in the DB
- Replace category name with article id in wordpress urls
- How can I insert a dynamic URL in my email template?
- Redirect Old wordpress url to new wordpress url
- Block registration by URL referrer?
- WordPress Primary Category Changes After Import, Permalink Issue
- How to set wordpress url on local host to access it via VPN
- unique url access control
- I found weird email address appended to some of my URLs, what does that mean?
- How to get custom URL routes property_id in wp php plugin?
- index.php shows up in url
- how to remove this #.XsZOUWhKjIU from my wordpress url
- Incorrect page shown
- Cannot Save Changes After Updating URL Settings
- Avoiding the -2 in slugs
- How to encode correclty an url with the char “&” for an email?
- How do i create navigation links like this in wordpress? [closed]
- Blog post Links leading to home page [closed]
- URL Structure for translated articles
- Pass post title as URL parameter
- Let WordPress to go opening an external URL
- Change default query parameters
- How do I make images open in a new tab by default?
- How to pass parameters thru URL?
- problem getting audio url
- Text widget form and URL variables
- wp-login.php ampersand in url results in 404
- How to eliminate the Web Address / Web Link textbox from comment forms
- URL displays different page (a loop)?
- Change path/url of admin-bar.min.css
- Options and template changes not updating
- Append custom parameter to taxonomy/term URI
- Why is my WordPress install using full server directory paths for media URLs?
- Accidentally Changed WordPress Url
- Typing local WordPress URL works, but clicking the same link does not
- 404 error on cyrillic url
- Block a specific url request
- Dynamic Buttons According to URL parameter
- WordPress Address and Site Address differ
- WordPress URLs changed to relative on transferring server
- /?clearcache=1670318470 showing up in URL after client logs in
- My Website’s Main URL redirects me to an Archive Page