ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Fix Strikethrough in Wordpress Links to Linkedin

Updated on December 20, 2018
Time Spiral profile image

I'm a marketing professional with 13+ years experience. Also, I write about stuff and help people fix problems.

It's an infuriating problem! But don't worry. We have an easy fix here in this article.
It's an infuriating problem! But don't worry. We have an easy fix here in this article.

Preface: I discovered this issue while working with a client and wanted to share some solutions and explanations. I'm a marketing consultant and have expertise in this area. Thanks for reading!

Difficulty Level: Easy

Experience Needed: a basic understanding of WordPress

Materials Needed: Admin access to your WordPress site

Time to fix: < 30 minutes

Let's get started!

Did this article solve your problem?

See results

Why do my links to LinkedIn show up with a strikethrough in them?

You just posted a new page or blog, go to view it, and for some reason, the link to your LinkedIn profile is showing up with a strikethrough in it.

"Well that's weird," you think to yourself. Thinking perhaps you coded it wrong you click on it, and the link works just fine. So what is going on?

Chances are you're probably using a WordPress plugin called "Broken Link Checker". A seemingly-handy plugin designed to help you manage broken links on your WordPress site. Cool! Unfortunately it appears that LinkedIn has blocked all traffic to its servers from this plugin. So what does that mean? It means the plugin checks your link, gets an error from LinkedIn and flags the link as broken. Every time the page loads a class is added to the link (by the plugin) called "broken_link" and is given the text-decoration "line-through" (which looks like a strikethrough). The link still works for your visitors, but since you're reading this article, I'm guessing this is not the user experience you want.

There are two ways to fix this issue. Here is the first fix:

  1. Login to your WordPress site
  2. Hover over "Plugins" on the left-side menu > select "Installed Plugins"
  3. Locate the "Broken Link Checker" plugin and deactivate it

This will deactivate the plugin and your problem will go away. However, there is a chance you want to fix this problem without deactivating the plugin. If that's the case, I recommend the second fix (described below).

Here is the second fix:

  1. Login to your WordPress site
  2. Open the CSS file that contains the class titled "broken_link"
  3. Change the text-decoration value from "line-through" to "none"

A bit of a disclaimer for this one

I've added a bit of code example below so you can see what the second fix ought to look like. Now keep in mind, the exact class or appearance might look different in your editor. And I can't tell you exactly what file the CSS is in, because each theme is a bit different. But if you're going this route, I'm hoping your knowledge of your WordPress site is above the basic level. Otherwise, I might not go poking around in the CSS file ... just sayin'.

/* This is the CSS class that is causing the strikethrough */

.broken_link, a.broken_link {
    text-decoration: line-through;

/* Change it to this to fix the problem */

.broken_link, a.broken_link {
    text-decoration: none;

Okay ... There May Be a Third Fix As Well.

I'm hesitant to suggest this one, but if you really want to keep the Broken Link Checker plugin active on your site, then perhaps adding LinkedIn to the "exclusions" list is an acceptable solution. I don't prefer this solution, and I will explain why below the how-to.

The third fix:

  1. Login to WordPress admin
  2. Hover over "Plugins" on the left-side menu > Select "Installed Plugins"
  3. Locate the "Broken Link Checker" plugin and select "Settings"
  4. Click the tab that says "Which Links To Check"
  5. Add the text "" to the "Exclusions List" text field. Don't include the quote marks.
  6. Click "Save Changes"

I don't love this fix for a few reasons.

  • It doesn't automatically fix the LinkedIn links it already thinks are broken (because they were blocked), so you still have to go through each one and mark them as "not broken". Pain in the ass!
  • You could force a re-check of your whole site, but the plugin labels that move as the "nuclear option" and that sounds scary. No thanks!
  • Right now it appears that LinkedIn is the biggest site disavowing this plugin, but I've read in a number of places other companies also considering this plugin to be a little too troublesome and won't use it in their development.
  • What if other sites implement the ban and you don't notice?

For these reasons I feel the prudent move is to either deactivate or to change the CSS class as described in Fix One and Fix Two (above).

Is LinkedIn blocking the Broken Link Checker WordPress plugin?

Other people have had this problem, where a correctly-coded link to LinkedIn is showing up with a line through it on a WordPress blog, and others have suggested ways to address it without deactivating the plugin or modifying the CSS. I thought she wrote a great article about how to use the plugin itself to fix the strikethrough issue. Others have suggested adding LinkedIn to the exclusion list in the Broken Link Checker plugin.

However, since LinkedIn is blocking HTTP requests (i.e., traffic) from the Broken Link Checker plugin (specifically returning a 999 server error) I believe the best course of action is to deactivate the plugin until the developers are able to fix it and get LinkedIn to lift the ban. LinkedIn is not the only organization disavowing this plugin either. I have seen other companies disavowing this plugin as well.

LinkedIn 999 server error blocking traffic from Broken Link Checker WordPress plugin

Look at this error LinkedIn is throwing when you click a LinkedIn link from inside of the Broken Link Checker WordPress plugin. It's a 999 server error. I've redacted the profile I was testing for privacy issues.
Look at this error LinkedIn is throwing when you click a LinkedIn link from inside of the Broken Link Checker WordPress plugin. It's a 999 server error. I've redacted the profile I was testing for privacy issues.

Which solution did you implement?

See results

Done! Was this helpful?

I hope this article helped you solve your problem. If it did, please consider posting a link to this article wherever you think it might help other people as well. Also, it would be great if you commented on this article.

Have a wonderful day, especially since now you can mark one problem off your list.

Thanks for reading!

© 2018 Time Spiral


    0 of 8192 characters used
    Post Comment

    No comments yet.


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)