How to use the text link counter‎

In the latest release of Yoast SEO, we’ve added a text link counter. It consists of two counters, the first counts the number of internal text links you’ve put in your post. And the other counter counts the number of internal links to a post. These counters can be a huge help in improving the structure of your site. I’ve already explained why you should use the text link counter. Here, I’ll show you how to use our new text link counter.

Optimize your site for search & social media and keep it optimized with Yoast SEO Premium »

Yoast SEO for WordPress pluginBuy now » Info

Where do I find the text link counter?

From now on, checking the number of internal links in a post and the number of links to a certain post is very easy. You can find the two counters in your post overview:yoast seo 5.0 text link counter
Look a bit closer:

text links counter

This functionality is very actionable. If you want to improve your site structure and your SEO, the text link counter will help you do that. You can go through your post with few links and improve your site’s structure step by step. We’re already thinking of ways to make this experience even smoother.

Find and resolve: ‘Orphaned articles’

Some articles don’t get many links from other posts; we often refer to them as ‘orphaned articles.’ These pages are hard to find, both by Google as well as the user. With the help of our text link counter, these articles are easy to detect. If you want to check which articles don’t receive many links, you can sort the articles by number in the second link counter column. Articles with 0 posts linking to them, will appear on top of the list.

The next step is to open those posts or pages with few links. Is it a page you don’t find useful anymore? Just delete and redirect it to another relevant page. If you do think it’s still a valid page on your site, figure out which other posts could link to it. Our internal linking tool (only for Yoast SEO premium) could help you to figure out which posts are linking candidates. Go to those similar post and insert links from these posts to your ‘orphaned’ post. That strategy could very well result in a small boost in your rankings.

Improve site structure by adding links

The other counter – the first column – counts the number of text links to other posts and pages on your website. You’ll want your post to link to other posts and pages with similar content, as it helps your readers to figure out other posts to read. If you link to similar content, the time people spend on your website will go up.

To find blog posts with few links to other posts, order the posts by the number of links. The posts with the fewest links will appear on top of your list. Adding links is incredibly easy with our internal linking tool. In our internal linking tool, we’ll suggest which post to link to based on similar content. You can add the suggestions, and you’re ready to go to the next blog post with few links.

Improve those cornerstone articles

An excellent way to use the text link counter is to use it for the cornerstone content articles. These are your most important articles. You’ll need to have your other posts linking to these particular relevant posts. To check whether you’re linking sufficiently to these cornerstones, you should select your cornerstone articles in your post overview. You can indicate which posts are your cornerstones in the Yoast SEO meta box (just beneath the snippet preview).  If one of your cornerstones has very few links, you’ll have work to do! Our internal linking tool will help you to figure out which articles to start linking to.

Conclusion on the text link counter

The new text link counter is a beneficial tool to improve your site’s structure actively. It’ll show you which posts need linking. If you combine this text link counter with our internal linking tool and the cornerstone content check, you’ll be able to bring your site’s structure to the next level. That will instantly increase the time people spend on your page and eventually will result in higher rankings in Google.

Read more: ‘Site structure: the ultimate guide’ »

How to use Twitter Cards

Back in 2012, Twitter introduced a system called Twitter Cards which allows site owners to display enhanced tweets on their websites using a syntax very similar to that of OpenGraph. Thanks to this new system, Twitter can show nicer looking tweets, including ones containing media such as images, audio and video.

How does it work?

As mentioned in the introduction, Twitter Cards make use of a very similar syntax to that of OpenGraph. Twitter has some properties that are specific for their platform which you can see in the following snippet:

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@yoast"/>
<meta name="twitter:creator" content="@michielheijmans"/>

The twitter:card property is required and defines the type of card you want to show. You have four flavors here: summary, summary_large_image, app and player. What the difference is between all these different cards can be found in the documentation.

Both twitter:site and twitter:creator are optional and point to the Twitter account of the website publishing the content and the author.

Optimize your site for search & social media and keep it optimized with Yoast SEO Premium »

Yoast SEO for WordPress pluginBuy now » Info

OpenGraph

When it comes to parsing URLs, images and descriptions, Twitter makes use of existing og: properties. You can overwrite these og: properties with Twitter specific ones, but most of the time this isn’t something you’d want. If your goal is to display completely different information on Twitter, then these tags allow you to override default behavior.

There’s one thing to take into account when using both the Twitter and OpenGraph options. Twitter uses name to specify the attribute whereas OpenGraph makes use of the property attribute. Take this into account if you plan on manually implementing Twitter Cards.

Implementing Twitter Cards

As with other meta tags, you need to add the Twitter tags in the <head> of your website and ensure that the values are set properly on a per-page basis. This can quickly becomes an unwieldy task for a blog, so we built a feature that generates the proper meta tags for you.

Twitter Card settings in Yoast SEO

Twitter Card input field in Yoast SEO

Want to change the look of the Twitter Card for a specific post or page? Just use the form on the Social tab. Here you can tweak specific properties to your liking.

Additionally, our Premium plugin contains Social Previews which display what the Twitter Card will eventually look like based on the current page or post:

twitter cards in yoast seo premium

Twitter Card: Preview your Twitter post with Yoast SEO Premium

Twitter Cards are a great (visual) addition and can help increase traffic to your website!

Read more: ‘SEO basics: how to use social media’ »

How to start writing a blog post?

It can be really hard to come up with a topic for a blog post. When you finally found the perfect subject, you probably want to start writing immediately. But to write that perfect blog post, you should take some time to prepare it properly. Today, I’ll give some tips on how to begin your writing process. If you take some time and prepare your blog post adequately, your writing will be so much better! 

Learn how to write awesome and SEO friendly articles in our SEO Copywriting training »

SEO copywriting training$ 199 - Buy now » Info

Preparing takes time

The writing process can be divided into three phases. The actual writing is the second phase of your writing process and only takes up about 20% of the time. That is, if you’ve done the preparing phase properly.

Process of good writing explained in a picture: 40% prepaparation, 20% writing, 40% correcting

In my opinion, the preparing phase is the most fun! You can brainstorm, try out things and be creative in this phase. So, although it may seem like this preparing-stuff is just holding you back from the actual writing, you should think of it as the most creative and fun phase. And the most important phase!

Brainstorm

Always start a blog post with a brainstorm. Once you’ve decided on the topic of your post, you should make a list of all the things you would like to address in your post. Don’t be critical in this phase. Just write down anything you come up with. You always can cross off the ‘not so good ideas’ later on.

What is your message?

What is the one thing you want your readers to remember after they’ve read your post? What’s the most important thing you want to say? The answer to these questions is the message of your post. You should write that message down. This is the key information of your blog post. That message should eventually come in the first paragraph of your blog post.

Write a little bit

Although the actual writing comes in the second phase of the writing process, you should definitely write some sentences. Try to find the right words for your topic and for your audience. Try to write some beautiful sentences. I wouldn’t advise you to try to write the first sentence of a blog post in this phase, but you could write a few sentences of an important paragraph. Playing around with words will help you to find the tone of your blog post.

Structure, structure, structure

The most important thing you should do in the preparing phase of writing a blog post is to come up with the structure of your text. At the end of the preparing phase, you should end up with the skeleton of your blog post. What subjects will you address in what order?

After you’ve brainstormed about the topic, you’ll probably end up with a long list of things you would like to address in your blog post. Read through your list, cross of the things you’re not totally sure about and try to see whether or not topics resemble each other. Bundle similar topics. After that, you should think about the order you want to discuss your topics. Make sure you discuss things in a way people understand. Subjects and paragraphs should follow each other in a logical order.

Before I start the actual writing process, I usually have a list with paragraphs. For every paragraph I also have a short description of the things I would like to discuss and the examples I would like to use. In some cases, I already formulated some nice sentences for every paragraph as well.

Hit that keyboard!

Preparing your blog post can be real fun. I really enjoy this phase the most. If you’ve thought your post through it’s time to turn to the next phase and hit that keyboard. Go write your post!

After writing your post, you’re inevitable going to end up in the correcting phase. Very important. Totally hate that phase.

Read more: ‘SEO copywriting: the ultimate guide’ »

Content SEO: How to analyze your audience

To write appealing text for your audience, you need to know them. Who are those people that read your stories? Who are the people that search for the terms you want to be found for? Where do they come from? How old are they? What are they interested in? And how will you be able to reach those people again? In this post I’ll help you with analyzing your audience, as this is essential for SEO.

Why should I analyze my audience?

If you don’t know much about your audience, it can be quite hard to write texts for them. Should you write texts that are difficult or very easy to read? Which topics will interest them the most? Which search terms do they use? What blogpost will make them come back to your site? These questions are especially important if you want your audience to become regular visitors of your website or if you want them to buy something in your online shop. If you know a lot about your audience, it will be much easier to adapt your texts to your audience. As a result, you’ll become more successful in selling your stuff and gaining those return visitors. 

Learn how to write awesome and SEO friendly articles in our SEO Copywriting training »

SEO copywriting training$ 199 - Buy now » Info

How do I analyze my audience?

There are several ways of analyzing your audience. We’ve listed the ones we like to use below. To really get to know the people who come to your website, we’d advise to use all these different ways of analyzing.

1. Google Analytics

The best way to start analyzing your audience is by using Google Analytics. Google Analytics will tell you at what time a day your audience is on your site; where they’re from (at least from which country); which pages they like most and whether they use a desktop or a mobile device. That’s all valuable and usable information.

Closely monitor which pages and blog post generate much traffic and investigate possible patterns. Perhaps posts about a certain topic generate a lot of traffic, while posts about other topics don’t get many visitors. Use that information when choosing the topic of your next blog post.

2. Facebook Insights

Google Analytics can tell you a lot about the visitors on your website, but if you want to know more about the people you reach on Facebook you’ll need to use Facebook Insights. Check which posts get many views and which posts don’t get attention from your audience. Experiment with buying adds on Facebook too. Read all about Facebook Insights in Michiel’s post. Of course, every social media platform has its own analytics (we’ve also written about YouTube Analytics, Twitter Analytics and Pinterest Analytics). Monitor the analytics of the channels you use on a regular basis.

3. Surveys

A great way of getting to know your audience is to have them fill out an online questionnaire. In a survey, you can ask them anything you want.  You can, for instance, set up a survey that pops up when someone enters your site or you can send a survey invitation to your newsletter subscribers or to the buyers of your products. There are lots of packages that allow for online questionnaires. We have used Polldaddy.com in the past. They offer a free account, which will suffice for most small companies. What I really like about Polldaddy is the way they instantly present their results. They show frequencies and percentages in an easy to grasp format.

Remember that most people do not participate in online surveys. Still, if your audience is large, you’ll easily get a decent amount of people to fill out your questionnaire. To get more participants you can always try to win them over by raffling a nice incentive among the respondents.

Please note that it’s always a certain group of people that’ll be willing to fill out a survey. That group is highly selective and not representative for your entire audience.

4. Talking to your audience

Just having a conversation with a part of your audience also remains a great way to find out more about them. In an online questionnaire, you can ask a lot of people about your product, but their answers will probably remain shallow. If you’re able to really talk to some of the people from your audience in person, that could help you to get a better idea about who your audience are. Ask them what they like best about your website, your products, or your blog posts. Ask them why they come back to your website. Invite them to talk about their experience and don’t be scared of some criticism.

If I’m at a WordCamp or a congres somewhere and I encounter people using our Yoast SEO plugin, I always like to ask them what they appreciate most about our product. It helps me to understand our users. And, by understanding our users, we’re better able to anticipate upon their needs. If we know which features in Yoast SEO they like best, we should optimize or expand those features for sure.

5. Comments

If you want to analyze your audience and find out what kind of people it consists of, you should analyze the comments on your blogpost. What are people saying about you or about your post in the comments below your articles? Which aspects of your blog post are they talking about in their comments? Which topics are so important to them, that they are willing to engage? Analyze comments on your website, and don’t forget to monitor comments on social media either!

Learn how to set up a keyword strategy for your site in our Keyword research training »

Keyword research training$ 99 - Buy now » Info

Conclusion: analyzing is hard

Analyzing your audience can be a tough nut to crack. Google Analytics and the analytic tools of the numerous social media platforms are useful, but don’t tell much about the intentions or desires of your audiences. Surveys are great, but as most people won’t fill out an online questionnaire, the data aren’t that valid and representative for your entire audience. Talking to your audience can bring useful insights, but you won’t be able to have a conversation with all of them either.

All the different ways of analyzing your audience do add value in their own way though. Using them all will give you a clear impression of your audience.

Read more: ‘SEO copywriting: the ultimate guide’ »

SEO basics: How to use social media

Social media endeavors should be a part of your SEO strategy. As social media usage increased in popularity, Google and other search engines couldn’t ignore them any longer. This means that your site’s popularity on social media ties in with your SEO more and more. The reason for this is simple: if people talk about you, online or offline, you’re relevant to the topic at hand. In addition to that, you’ll want to know about these conversations. In this post, I’ll give you some fundamental tips on how to use social media.

How to use social media

Below are some tips you can use in order to set up or to improve your social media strategy:

1. Keep your account alive

The most crucial advice in the use of social media is that you need to keep your account ‘alive’. Make sure you post on a regular basis. Sharing your new blog posts is a good start, but also let people know what you’re working on or what interests you. If you go on vacation, schedule posts for the time you are away, or at least let people know when you’ll be back. And, after a while, you could repost older content to draw people to your website with existing content.

2. Write captivating excerpts

When you decide to share your blog post on social media, make sure to select or write a short and appealing excerpt in order to draw people in. You could, for instance, choose the most important sentence or the main point of your post. Or you could simply choose to share the introduction of the blog post, if you feel that is captivating enough. You want this piece of text to get people to click on the link and read the whole post. And do ensure that people can easily navigate to other pages on your website, once they are there.

Our SEO for WordPress eBook guides you through every aspect of Search Engine Optimization »

SEO for WordPress$ 25 - Buy now » Info

3. Diversify

You can share different types of posts on your social media account. As mentioned in point 1, you could share your blog posts, but you could also share short news items, videos or simply some (behind-the-scenes) pictures. These kind of posts can make our brand more fun and personal.

In order to decide which posts do well on social media, you should analyze the number of views, shares and likes. Of course, we’d advise to share types of posts that receive a lot of views and likes more often.

4. Handle comments

If you share your posts on social media, you could also receive comments. Don’t forget to monitor this. You should handle these comments swiftly.

Read more: ‘How to handle comments on your blog’ »

5. Use awesome illustrations

For some social media (Pinterest and Instagram) it is all about the illustrations. But also on Facebook visual content is really important. They make your post stand out from all of the other posts in someone’s timeline, and can boost clickthrough.

When you use Yoast SEO Premium you can check what your blog post or product page will look like, before sharing it on Facebook and Twitter. See how easy that is!

6. Be part of the community

If you’re active in a certain community or niche, you’ll soon discover other interesting people in that area that your audience follows. Follow them too and interact with them, this could help your and their audiences grow.

7. Add metadata

Smart use of (hash)tags can also help your growth immensely. For instance if you are at an event, include the hashtag for that event in your post, so everyone searching for that event will come across it. There are also hashtags for certain interests or technology. Some people might even retweet everything that is posted in a certain hashtag, which is a great way to boost your post. But don’t go overboard! Nobody likes a post that is filled with all kinds of random hashtags.

Conclusion

Social media is a key aspect of every SEO strategy. Setting up a decent social media strategy can be hard and will ask for a bit of creativity. And, it’ll definitely consume much of your time. But, it’ll be worth it! And if you think about it, social media and blogging are very similar in many aspects.

Keep reading: ‘Social media strategy: where to begin’ »

WordPress archive pages: the tutorial

Once your website starts growing and you continue writing blog posts, you’ll eventually end up with archive pages. These archive pages can be based on taxonomies, categories, custom post types and even dates. WordPress has built-in support for these archive pages, however there are some small drawbacks. In this post, I’ll explain to you how you can use these archive pages in a better way and ensure they actually add value to your blog.

Default archive pages

WordPress supports automatic creation of archive pages. This ensures that you don’t have to think about making them by hand. Sadly, these pages tend to only consist of a list of posts based on a category / taxonomy / post type without any further introduction. This means that your visitors are left stranded on a page without much explanation about what they’re looking at. The chances of your visitors finding what it is they’re looking for are terribly slim in this case and usually visitors will decide to leave that page immediately.

A simple solution to this problem: Add an “introduction” of some sorts to the page. A clear header can already greatly help out your visitors, but for extra important pages we recommend adding a description as well to better highlight the content that can be found on that archive page.

Before avidly writing these introductions, lets ensure they are properly displayed on the pages.

Learn how to structure your site well with our Site structure training! »

Site structure training$ 99 - Buy now » Info

Adding the introduction

Category, tag and custom taxonomy archives

If you want to add an introduction to a category, tag or custom taxonomy archive, you can easily create a custom template file to override the default ones. For example, you can create a `category.php` file in your theme to override the default template file. If you want more information on how the templating hierarchy works in WordPress, just look at this infographic before continuing.

In your newly created `category.php` template file, add the following snippet above the WordPress loop:

if ( ! get_query_var( 'paged' ) ) {
  echo wpautop( term_description() );
}

If you want to support shortcodes, try this instead:

if ( ! get_query_var( 'paged' ) ) {
  echo wpautop( apply_filters( 'the_content', term_description() ) );
}

The above code takes the title and description that you added in the WordPress backend for the category and displays it on the category archive page. This method also applies to tag and custom taxonomy archives.

If you use the Genesis theme, you won’t have to do any of the above alterations. Luckily, Genesis already has built-in support for this type of thing, so it’s as easy as ticking two checkboxes in the theme settings.

Genesis Archive Settings

Or if that doesn’t work, you can just add this to your Genesis child theme’s functions.php:

function yoast_term_archive_intro() {
 if ( ( ! is_category() && ! is_tag() && ! is_tax() ) || get_query_var( 'paged' ) ) {
   return;
 }

 echo '<h1 class="entry-title">' . single_term_title('', false) . '</h1>';
 echo '<div class="entry-content">' . wpautop( term_description() ) . '</div>';
}

add_action( 'genesis_before_loop', 'yoast_term_archive_intro', 20 );

Of course, you are free to expand the above function to add some more CSS classes to further style the output.

Custom Post Type archives

Altering custom post type archives is a bit trickier than overriding default tags, categories and taxonomies. You can add a new file called `archive-{posttype}.php` where you replace the `{posttype}` portion with the name of your custom post type. By then adding the following code to said file, you can achieve a similar result:

if ( ! get_query_var( 'paged' ) ) {
  $post_type = get_post_type_object( get_post_type() );
  echo '<h1>' . $post_type->labels->name . '</h1>';
}

Now for the hard part. Because custom post types don’t have any type of form in the WordPress backend, it is impossible to easily add a description to these custom types nor is there a recommended way of storing the data. One method you can use when you use a child theme in Genesis, is by expanding the `functions.php` file with the following code:

function yoast_cpt_intro() {
  if ( ! is_post_type_archive() || get_query_var( 'paged' ) ) {
    return;
  }

  $post_type = get_post_type();
  
  if ( genesis_get_option( $post_type . '-title', 'child-settings' ) ) {
    echo '<h1>' . genesis_get_option( $post_type . '-title', 'child-settings' ) . '</h1>';
    echo wpautop( genesis_get_option( $post_type . '-intro', 'child-settings' ) );
  }
}

add_action( 'genesis_before_loop', 'yoast_cpt_intro', 20 );

As you may have noticed, the code example uses two custom genesis options: `$post_type . ‘-title’` and `$post_type . ‘-intro’`. These can be defined in your Genesis child theme. You can read how to do that over here.

Preventing duplicate content issues

To avoid duplicate content issues, the previous code snippets make use of a simple check to ensure we’re not on a paginated page. The `get_query_var( ‘paged’ )` function call determines whether or not we’re on a paginated page.
If it detects the query variable `paged`, we can assume that this page is one in a series of multiple pages and thus should not display the description.

Since the introduction of rel=”next” and rel=”previous”, websites that have paginated archives and whom have properly implemented the `rel=”next”` and `rel=”previous”` attributes, will be receiving more visitors on the first page in the series. Nevertheless, you should not solely rely on this, but use it in conjunction with the `get_query_var( ‘paged’ )` option.

Styling the archive introduction text

To ensure that people actually read the introduction text, it’s very important to add proper styling to the page. After all, these introductions need to be made with humans in mind first, SEO second. Don’t fall in the trap of styling it the same way as your posts as this might result in visitors not understanding that the text is actually something entirely different from your content. A good example can be seen in the following screenshot:

Conclusion

Based on the information shared in this post, you should be able to make clear archive pages that help your visitors understand the content they are looking at. Additionally, you should be able to create these archive pages for custom post types. We look forward to seeing some of your beautifully styled archive pages.

Read more: ‘Site structure: the ultimate guide’ »

Why use segments in Google Analytics?

When talking with customers about Google Analytics, you often hear the same thing: “I’m not really using Google Analytics because I don’t know what I’m looking at. It’s just too much”. And that’s a pity because you can learn a whole lot about your website and your audience with Google Analytics’ data. So, is there a simple way to use Google Analytics without getting lost? There might be, by using segments.

What’s a segment?

In Google Analytics a segment is a way to specify the data you’re seeing in every standard view. Google Analytics just throws it all in there, on one big pile of data. This means that when you’re looking at a standard view in Google Analytics you see: ‘all sessions of all visitors’, you see: total revenue, all pages, average time on page of all users, the landing pages of all visitors.

You might recognize this: You’re in the Acquisition section and you’re all happy, because you’ve created the perfect table. You’ve used the advanced filter option to include the Medium: “Organic” and you’re seeing the data you want to see. Then you think: “I’m curious to see which pages these visitors looked at, let’s take these filters to the next section of Google Analytics.” You hit the Behavior section and Poof! your filter is gone. Oh, the frustration!!!

If you want to know which pages people coming from organic search visit, you need to find another way. A segment helps you to narrow down the aggregated data Google Analytics shows, into data you want to see and need, to answer a specific question you have. You can use that segment throughout the sections, the segment doesn’t get lost when switching between sections. For instance, if we want to know which source customers who bought an eBook came from, we can create a segment of people who bought an eBook. By applying that segment and looking at the Acquisition – Source/Medium section, we can conclude that most of our eBook customers came from a newsletter. Goodbye frustration!

Become a technical SEO expert with our Technical SEO 1 training! »

Technical SEO 1 training$ 179 - Buy now » Info

Why do you need segments?

Without segmentation, all data you see is aggregated. This makes it really hard to draw conclusions. As Avinash Kaushik once said: “All data in aggregate is crap.” And I certainly agree with him. If you want to draw a valid conclusion, you need to specify your data.

For example, you can’t just say that most of your visitors visit your site around noon. Well okay, you can. But what does it mean? This data is so aggregated that you can’t build a strategy on it, it doesn’t provide any insight. Based on this data you might conclude that promoting a new product around noon is the way to go. But what if a large amount of your non-paying visitors visit your site around noon, but your high-potential visitors visit your site in the evening? Then you could’ve made the wrong decision based on non-specific aggregated data. So with a segment, you can zoom in on a specific part of your data. And if you do that right, you can make important business decisions that help your business move forward.

How to create a segment in Google Analytics?

First of all, creating a segment in Google Analytics isn’t dangerous. You can edit your segments, you can delete your segments, but you won’t delete the actual data you have. For me this was an important realization, because it meant that I could just ‘play’ with segments without any consequences.

The first step is thinking about what kind of segment you need. Which question do you want answered? What’s important for your business? And where can you find the data to create that segment? Do you want to segment on demographics of the user? And/or, the behavior of the user? Or, the technology the user uses to visit your website? And so on. Knowing what it’s called what you’re looking for in Google Analytics really helps when creating segments.

The second step is adding the actual segment. You can find the segment section at the top of the page in every view from Audience down to Conversions.

add a segment in Google Analytics

This means that if you’re in Dashboards, Shortcuts, Intelligence Events or Real-Time section, you can’t see the segment section.

System segments

Google Analytics offers ‘fixed’ segments which you can find in the ‘System’ section. A lot of these segments are pretty darn useful. For example, there’s an Organic Traffic segment that groups all visitors that came from an organic search result to your site. Very useful, if you want to know which landing pages these users visit. Another example: There’s a Mobile Traffic segment, that groups users that use a mobile device to visit your site. Very helpful as well, for example to find out if the ‘time on page’ is what it should be, this might say something about the mobile friendliness of your site.

Custom segments

There are more segments to think of than the system segments Google Analytics offers. For instance, you can create a segment that filters out all visitors that spend less than half a minute on your site. Or you can create a segment that focuses on the organic traffic from all visitors from the Netherlands. Or, as mentioned before, create a segment based on the products visitors bought or a certain amount of revenue a visitor yielded.

I found this video on YouTube that explains creating a custom segment pretty well:

For me, a couple of segments are really useful. I have segments for every country that’s important for our business, for every product and for every product page. And I have a segment for every medium like Organic, Newsletter and in our case: plugin traffic.

Compare segments

A nifty feature in Google Analytics is the ability to add more than one segment for the same view of data. This means you can compare different segments. For instance, if you created a segment of visitors that stayed longer than 5 minutes on your website and created a segment of visitors that stayed less than 1 minute on your website, you can compare the two and find out more about the behavior of these two groups and in which aspects these two groups differ.

Conclusion

If you want to know what you’re looking at, when clicking your way through Google Analytics, segmentation is the way to go. If you have questions like, “how do the visitors from California behave on my site?” Or, “what are my newsletter visitors doing on my site?” “How’s my campaign going?” Creating a segment is the easiest way to go. It’s a way to dissect your data and actually know what you’re looking at, when looking at all the different sections in Google Analytics. Say farewell to your Google Analytics frustration!

Read more: ‘Facebook Page Insights explained’ »

Ask Yoast: should I redirect my affiliate links?

There are several reasons for cloaking or redirecting affiliate links. For instance, it’s easier to work with affiliate links when you redirect them, plus you can make them look prettier. But do you know how to cloak affiliate links? We explained how the process works in one of our previous posts. This Ask Yoast is about the method of cloaking affiliate links we gave you in that post. Is it still a good idea to redirect affiliate links via the script we described?

Elias Nilson emailed us, saying that he read our article about cloaking affiliate links and he’s wondering if the solution is still up-to-date.

“Is it still a good idea to redirect affiliate links via the script you describe in your post?”

Check out the video or read the answer below!

Get the most out of Yoast SEO, learn every feature and best practice in our Yoast SEO for WordPress training! »

Yoast SEO for WordPress training€ 99 - Buy now » Info

Redirect affiliate links

Read this transcript to figure out if it is still a valid option to redirect affiliate links via the described script. Want to see the script directly? Read this post: ‘How to cloak affiliate links’:

Honestly, yes. Recently we updated the post about cloaking affiliate links, so the post and therefore the script is still up to date. Link cloaking, which sounds negative, because we use the word cloaking, is basically hiding from Google that you’re an affiliate. And if you’re an affiliate, that’s still the thing that you want to do, because usually Google ranks original content that is not by affiliates better than it does affiliates.

So, yes, I’d still recommend that method, the link will be below this post, so you can see the original post that we are referencing to. It’s a very simple method to cloak your affiliate links and I think it works in probably the best way that I know.

So, keep going. Good luck.

Ask Yoast

In the series Ask Yoast we answer SEO questions from followers. Need help with SEO? Let us help you out! Send your question to ask@yoast.com.

Read more: ‘How to cloak your affiliate links’ »

How to remove www from your URL

At Yoast, we sometimes receive the question how to remove www from your website’s URL – or add it. In this post, I’ll show you how you can enforce either a www or non-www URL by tweaking your .htaccess file (or nginx.conf if you’re running on an Nginx server).

Get the most out of Yoast SEO, learn every feature and best practice in our Yoast SEO for WordPress training! »

Yoast SEO for WordPress training$ 99 - Buy now » Info

Does using one or the other impact SEO?

You might be wondering if using one or the other will have an impact on your SEO. The answer is: no. It’s really just a matter of preference/esthetics. Just make sure you properly add the www and non-www domains in Google Search Console, as described here, to ensure Google can properly index your website.

Removing www from your domain name

If you prefer to market your website without the www prefix, you can add the following lines to your .htaccess file (Apache only):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

Restart Apache and check that you get redirected to the non-www version when using the www prefixed URL.

Note that Apache’s mod_rewrite module needs to be enabled. Otherwise, the above snippet won’t work.

Now, in Nginx this snippet is a bit different, but yields the exact same result when placed in the proper configuration file (which depends on your setup):

server {
 server_name www.example.com;
 return 301 http://example.com$request_uri;
}

Now just restart Nginx and you should be good to go!

Adding the www instead of removing it

To do the opposite of the previous section, add the following code to your .htaccess file:

RewriteEngine On 
RewriteCond %{HTTP_HOST} ^example.com$ 
RewriteRule (.*) http://www.example.com$1 [R=301]

And in Nginx, all it takes is this:

server {
 server_name example.com;
 return 301 http://www.example.com$request_uri;
}

That’s all there is to it!

Read more: ‘Ask Yoast: www and duplicate content’ »

How to start your keyword research: a case study

If you start a new site, either a blog or an online shop, you won’t rank immediately. So, what’s the first step you need to take to boost your rankings? In our view, you should always start with keyword research. Take some time to think about the words you want to be found for: which words are your audience searching for? But how do you find that out? What tools are useful? And, when you’ve found those keywords, how do you determine which ones you should focus on first? The most competitive (head), or the less competitive (long tail) keywords? In this post we’ll illustrate with a case study how to start your keyword research.

Focus on head or tail? Google it!

My cousin Sanne recently started her own online shop: Made by Mae. She’s a graphic designer and designs really cute posters, postcards and milestone cards. She asked me about SEO: where should she start? “Did you do your keyword research?” I asked. She did. She wanted to rank for the Dutch translation of [personalized poster]. And she already figured that aiming for those high-end search terms like [postcard] en [poster] would be pretty useless.

schermafbeelding-2017-01-10-om-11-39-55

Choose the right locale

Make sure to Google your specific keyword in the language that you’re using on your website. And, in the case of my cousin, make sure to use Google.nl. She’s mainly interested in selling stuff in the Netherlands, so she should only worry about ranking in the Netherlands.

But how do you know for sure? You should check the competition! Google the keywords that are the most competitive and analyze the results. Are these major companies? Companies with large marketing budgets? Then you’ll probably have a hard time ranking for these head terms. Ask yourself what the probability is that you’d be able to rank for such a term. Then, try a term that is slightly less competitive, and see what comes up. Did the probability change much?

If you do this, starting from very competitive head terms to slightly longer and less used search terms, you’ll get a pretty good idea of where your website should be able to fit in and rank. For Made by Mae, focusing on (the Dutch translation of) [postcards] and [posters] would be a bit too difficult to go after just now. [Trendy postcards] or [trendy posters] results in less competition. I would choose even less competitive search terms like [personalized trendy postcards].

Make a long list!

You should never focus on just one keyword. You should make a long, a very long list. My cousin should make a list of at least a hundred keywords. These could be variations of different keywords. As the menu of Made by Mae states she sells posters, personalized posters, postcards, milestone cards and printables. So my cousin should try to come up with keywords around these terms. For example: [cute milestone cards], [personalized milestone cards], [trendy milestone cards], [black-and-white milestone cards] and so on. Make sure to rate the competitiveness of each of your keywords.

Learn how to set up a keyword strategy for your site in our Keyword research training »

Keyword research training€ 99 - Buy now » Info

Start writing content

Blogging is a great way of creating content. My cousin could write really awesome blog post related to her products. She recently gave birth to a beautiful baby girl and she should have lots of inspiration. However, a keyword is not a subject of a blog post just yet. You’ll need a specific angle or topic for the keyword you would like to rank for.

Read more: ‘5 tips to find inspiration for your blog’ »

Use Google trends!

If you have to choose between certain keywords you’d like to rank for, but you don’t know which one to choose, you should use Google trends. Google trends will allow you to compare the search volume of a few terms. If you want to know whether it makes sense to write about trendy postcards or about personalized postcards, Google Trends will give you your answer:

schermafbeelding-2017-01-10-om-20-16-38

Think about chances to convert

While doing your keyword research, you should already think about the chance to convert for people searching for a specific keyword. For instance: if people are specifically searching for [black-and-white milestone cards], they will be more prone to buying a set of cards than if people are searching for [milestone cards]. People searching for [black-and-white milestone cards] already know what they want, they know what they’re searching for. Once they’ll find the milestone cards on Made by Mae, they will be more eager to buy them.

People searching for long tail, specific keywords generally have a higher chance to buy something when they end up on your website. So, perhaps, you’ll generate less traffic with a post optimized for [black-and-white milestone cards], than with a post optimized for [milestone cards], but you’ll end up with more sales nevertheless.

Conclusion

Keyword research is a very important first step in SEO. And after that, you’ll have to start writing. A lot. Writing will not instantly result in higher rankings. It’ll take time. It’s a longterm SEO strategy. But it will pay off eventually!

Keep reading: ‘Keyword research: the ultimate guide’ »