“Always Try” To Replace HTTP Links With HTTPS


Google’s Search Advocate John Mueller says you should always try to replace internal links pointing to HTTP URLs with the newer HTTP versions.

This is stated in a Reddit thread asking if it’s worth the effort to replace internal HTTP links with HTTPS versions, even when there are already redirects.

Several years ago, Google’s Gary Illyes said replacing links isn’t worth it when proper redirects are in place:

Now, Mueller says it’s “always” worth doing. Thankfully, as other commenters in the thread state, mass replacing HTTP internal links isn’t hard to do.

Here’s what Mueller says about replacing HTTP with HTTPS links and how to do it.

Replacing Internal HTTP Links With HTTP Versions

Mueller gives two reasons for replacing old HTTP internal links.

First, it’s cleaner than having a bunch of redirects. And, unlike external links, you have complete control over the URL visitors are sent to.

Mueller states:

“I’d always try to fix internal links, it just makes things cleaner, and is under your own control. I doubt it would have any visible effect though.”

Replacing HTTP internal links likely won’t have a noticeable impact on search rankings, as Mueller says, but it’s worth doing.

Why?

Changing the links, rather than relying on redirects, can positively affect webpage performance.

Anyone clicking on a link that redirects to HTTPS has to go through the HTTP version first. Getting rid of the extra ‘hop’ means visitors get to the content faster.

In addition, relying on redirects for internal links is a fool’s errand. Many things can go wrong, such as redirect chains, redirect loops, and broken links.

If a site loads images with HTTP URLs, it can cause browsers to give visitors a “not secure” error message, deterring them from staying on your site.

Redirects eat your crawl budget because every redirect counts as a page crawled. Google can potentially crawl more pages per session without the redirects in place.

Lastly, you can’t depend on redirects working indefinitely. Redirects can break or get deleted while replacing the links ensures they’re changed forever.

With that said, here’s some information about mass replacing internal links.

Mass Replacing Internal Links

It’s not hard to replace internal links automatically, but the method varies depending on how your site is built.

Mass replacing internal links is as simple as running a find and replace in the database. You can change every reference to an HTTP URL to the HTTP version in one fell swoop.

If you have a WordPress site, several plugins make this task easy, such as Better Search Replace.

However, if you’re not comfortable making significant changes like this, I advise speaking with your developer first.

Keep in mind there’s always a risk of your site breaking when you make changes on a mass scale, so it’s essential to save a backup you can revert to.


Source: Reddit

Featured Image: astel design/Shutterstock

if( sopp != 'yes' && addtl_consent != '1~' ){

!function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window,document,'script', 'https://connect.facebook.net/en_US/fbevents.js');

if( typeof sopp !== "undefined" && sopp === 'yes' ){ fbq('dataProcessingOptions', ['LDU'], 1, 1000); }else{ fbq('dataProcessingOptions', []); }

fbq('init', '1321385257908563');

fbq('track', 'PageView');

fbq('trackSingle', '1321385257908563', 'ViewContent', { content_name: 'google-always-try-to-replace-http-links-with-https', content_category: 'news seo' }); }





Source link

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

We Know You Better!
Subscribe To Our Newsletter
Be the first to get latest updates and
exclusive content straight to your email inbox.
Yes, I want to receive updates
No Thanks!

Subscribe to our newsletter

Sign-up to get the latest marketing tips straight to your inbox.
SUBSCRIBE!
Give it a try, you can unsubscribe anytime.
Exit mobile version