Ramzi-Alqrainy / internal-pagrank

Calculate Internal PageRank using R from Screaming Frog Crawl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improving Navigation-Based Internal links for SEO

The way you structure and organize internal links plays an important role in how both users and search engines are able to navigate your website, ultimately impacting your website’s rankings.

Search engines like Google use links to crawl the web. The crawlers click on each link that appears on a page ( both internal links and external links ) and then all the links on each subsequent page, and so on. This allows the search engines to find your pages and rank them in their indices.

For this reason, the way you link the pages on your website plays a big role in how search engines crawl, understand and rank your site. How do you make sure your site architecture is optimal and that internal links are organized correctly? Let’s explore how calculating a metric I call Internal PageRank can help us with this task.

Basic site architecture and navigation-based internal links

There are two basic types of internal links:

  1. The internal links that form your site’s navigational structure
  2. The secondary internal links that appear in context throughout your site.

strict-internal-linking-for-seo-800x449

The first step to getting your internal links in order is to organize common navigation elements and adhere to a well-organized site structure. I recommend creating a classic internal linking structure and utilizing Bruce Clay’s silo architecture as a foundation for internal links.

Step 1: Crawl with Screaming Frog

We need to crawl our website. For this example, I use Screaming Frog, as it is a standard tool in an SEO practitioner’s arsenal.

Start by launching Screaming Frog and crawling your website. When the crawl is finished, select Bulk Export > All Outlinks from the top menu, and save the CSV file to your desired location.

screamingfrog-outlinks

The CSV contains a list of all the internal links on your website. We will use this list to create a network and calculate Internal PageRank.

Step 2: Calculate Internal PageRank with R

Install the igraph library by launching the R console and executing:

install.packages("igraph")

Once the library is installed, you will be able to use the code in this account.

screen shot 2017-04-01 at 3 15 47 pm

The output will be

cd-inlinks-screamingfrog

About

Calculate Internal PageRank using R from Screaming Frog Crawl


Languages

Language:R 100.0%