Guide to find and fix broken links - Technology tips

    Everyone agrees that broken links are bad for user experience. But did you know that broken links can significantly hurt rankings? WordPress SEO yours?

    Yes, it has been proven that breaking internal links on your site negatively affects SEO rankings.

    In this article, we will show you how to easily find and fix broken links in WordPress, so you can improve your user experience and SEO rankings.

    What is broken link?

    A broken link, also called a dead link, is a dead link. Broken links can occur for a variety of reasons, but the most common reason is when a page is deleted or moved to another location that causes the server to display a 404 not found error.

    On WordPress websites, broken links often occur when move a website to the new domain or when deleting a post or page without proper redirection.

    Sometimes broken links can also occur due to a typo and they may go unnoticed for months if not years.

    This is why it is important to regularly monitor broken links on your site and fix them, so you can prevent them from hurting your SEO rankings.

    In this guide, we will share the top four methods for finding broken links in WordPress. We will then show you an easy way to fix those broken links.

    SEMRush is one of The best SEO tools on the market. It allows you to easily follow SEO rankings of the site and overall health.

    It also includes a powerful website audit tool that crawls your site to find common errors and prepare detailed reports for you.

    You will need to register first SEMRush account .

    This is a paid service, but they offer a limited free account that allows you to crawl up to 100 pages on a domain. The limit for paid plans starts at 100,000 pages per month.

    Once you are logged in, you need to click on the 'Check site' link from the menu on the left.

    This will take you to the Website Audit page. From here, click the ‘Check new site’ button at the top to add your site.

    You will be asked to enter your domain name. You will then be asked to configure website audit settings. You can choose the number of pages to crawl and choose a crawl source.

    Click the start crawl button to continue.

    SEMRush will start crawling your site to test it. This may take several minutes depending on the number of pages you have chosen to crawl.

    Once completed, you can click on your domain name In the Check Website section to see your report.

    To see broken links on your site, you'll need to click on the 'Broken' link in the report overview.

    You can now click the Export button in the upper right corner of the screen to download your data collection report. You will need it when fixing broken links on your site (more on this later in the article).

    Ahrefs is an excellent all-in-one SEO tool for marketers, businesses and SEO professionals. It provides detailed insights on SEO to your own website or any of your competitors.

    You can use it for keyword research, competitive analysis, organic and paid keyword ideas, and website health monitoring including broken links.

    You will need to register first Ahrefs account . This is a paid service with packages starting at $ 99 per month. They also offer a full 7-day trial for $ 7.

    Once you have logged into the Ahref control panel, you need to enter your domain name under the Site Explorer tool.

    Website explorer will now crawl your site to prepare a report. This may take a while depending on the amount of content you have on your site.

    Once completed, you will see an overview of your site discovery results. From here, you need to click the menu Pages »Best by Links and then sort your report by 404 status.

    You can now export your report in CSV format to fix broken links on your WordPress site.

    Google Search Console is a free tool provided by Google to help webmasters manage the visibility of their websites in search results. It also notifies you about errors including 404 errors due to broken links.

    After you have logged into the account Google Search Console , click on the ‘Coverage’ link from the left menu.

    You will find 404 errors in the Errors or excluded tabs section. Clicking on them will show you a list of errors or problems that Google encountered when accessing your site.

    Clicking on a 404 error will show you all links on your site that are broken links and return a 404 error.

    You can now click the download button to get a list of all 404 errors on your site. You will need this to fix broken links on your site.

    For this method, we will use the Broken Link Checker plugin. However, this method is not recommended because it uses a lot of resources and will slow down your site. The WordPress hosting company is managed as WP Engine has blocked users from installing this plugin on their server.

    The plugin checks for broken links on your site including both internal and external links resulting in a 404 error.

    First, you will need to install and activate the plugin Broken Link Checker .

    Upon activation, the plugin will start working in the background to find links in your posts, pages, and comments. Now you can go to Tools " Page The link is broken to view the full report.

    If you were to run My WordPress blog For a long time, this report will include broken links to third party websites.

    You will have to manually organize the list to find broken links on your site.

    You will need to keep Broken Link Checker active on your site until you fix the broken links. You can then turn off the plugin as it will continue checking for broken links that will slow down your server.

    We showed you four different methods to find broken links in WordPress. Now let's talk about how to easily fix broken links in WordPress.

    The best way to fix a broken link is to redirect it to another page. For example, if you move the content of the article to a different address, then you will need to redirect it to a newer article.

    Similarly, if an article no longer exists, you will want to direct users to a similar page closely related to the content of the old article.

    You can do this by setting up 301 redirects.

    First, you will need to install and activate the plugin Redirection .

    When activating, you need to visit the page Tools »Redirects to set up redirects. You need to add the old, broken link in the ‘source URL’ field and the new URL in the ‘goal URL’ field.

    Then click the ‘Add redirect’ button to save your changes.

    You can now check this by visiting the old broken link and you will be redirected to the new page.

    Repeat the process for all broken links on your site.

    We hope this article helped you learn how to easily find and fix broken links in WordPress.

    If you like the article "Step by step finding and fixing broken links in wordpress" please comment below and share for everyone to read. Thank you for following the article. And if you want to copy the article, please cite the source: https://tipstechvn.com/tung-buoc-tim-va-sua-lien-ket-hong-trong-wordpress/

    Không có nhận xét nào