2. @patrickstox
@ahrefs
Product Advisor, Technical SEO, &
Brand Ambassador at Ahrefs
• I write for Ahrefs blog but have written for many industry publications
in the past
• I speak at some conferences like this one, SMX, Pubcon, UnGagged,
TechSEO Boost
• Organizer for the Raleigh SEO Meetup (most successful in US) and
the Beer & SEO Meetup
• We also run a conference, the Raleigh SEO Conference
• Founder Technical SEO Slack Group
• Moderator /r/TechSEO on Reddit
• Helped define the role of Search Marketing Strategist for the US
Department of Labor
• Lead author for the SEO Chapter of the 2021 Web Almanac
Who is Patrick Stox?
12. @patrickstox
@ahrefs
Combine CSV Files
1. Save files to a new folder
2. Get the path either by shift+right-click on the folder and “Copy as path” or
copy it from the address bar in the folder.
3. Open Command prompt.
4. Type cd, press Space, right-click and paste, then press Enter.
5. Type copy *.csv whatever-name.csv and Press Enter.
22. @patrickstox
@ahrefs
Card Sorting Exercise
Add these topics to index cards.
Have those involved sort and have them sort them in a way that makes sense to
them.
This is a good way to get people to understand what pages you need to create
and what content may be included on those pages.
It’s training people to make pages and outlines for those pages.
34. @patrickstox
@ahrefs
What Other Top Pages Talk About
More descriptive terms
Tasting notes
More food pairings
Tannins
Age
Varietals
Benefit:
Doesn’t have to include
searched terms
36. @patrickstox
@ahrefs
The Data All Points The Same Way
What People Search = What Top Pages Talk About = What Top Pages Rank For
+ They match one or more of the main intents.
49. @patrickstox
@ahrefs
Writing For Featured Snippets
Look for commonalities (likely what’s needed to be eligible)
Look for differences (why is one better than the other)
50. @patrickstox
@ahrefs
Some Queries May Not Have More Than 1
But you can refine to a similar query / main intent like “what is x” and see what is
likely needed.
52. @patrickstox
@ahrefs
Useful Content Features - Ecommerce
Q&As
Pricing
Reviews – with customer photos
Product selection
Facets (filters)
Description
Documentation
Return policy
Shipping info
Contact/support
53. @patrickstox
@ahrefs
Useful Content Features - Local
Who you are – You, team, business
What do you do – services, processes, timelines, pricing
When are you open - hours
Why should I choose you – social proof like reviews or testimonials, USP
Where you are – location, map, directions
How do I contact you – phone #, email
54. @patrickstox
@ahrefs
Who Do You Need To Write Great Content?
Job Knowledge
/ Insights
Research Good writer Editing
Expert ✔️ ❌ ❌ ❌
SEO ❌ ✔️ ❌ ❌
Writer ❌ ❌ ✔️ ❌
Editor ❌ ❌ ❌ ✔️
61. @patrickstox
@ahrefs
What If I Wrote Everything Already?
Revisit current content.
Go narrow and deep and really own the niche. Credibility and Expertise.
Go wide. What related content might people be looking for?
Go into another vertical.
77. @patrickstox
@ahrefs
Top Accountants From Different Cities
Keyword URL
accountant seattle https://www.seattlecpaprofessionals.com/
accountant las vegas https://llbcpa.com/las-vegas-small-business-accountant/
accountant chicago https://www.chicago-accountant.com/
accountant chicago https://cpa-in-chicago.com/
accountant chicago https://www.actgroupltd.com/
accountant los angeles https://www.johnweldoncpa.com/
accountant los angeles https://www.roberthalltaxes.com/business-services/accounting/
accountant tucson https://www.cpa-tucson.com/
accountant tucson https://www.cpatucson.com/
accountant tucson https://www.pinpointeaccounting.com/
accountant tucson https://beachfleischman.com/
accountant san diego https://www.regalgroupcpa.com/
accountant portland https://perkinsaccounting.com/
accountant portland https://www.orcpa.org/for-the-public/find-a-cpa
accountant philadelphia https://accountant-philadelphia.com/
accountant philadelphia https://www.daletaxservice.com/
accountant philadelphia https://taxprofessionalphiladelphia.com/
accountant tampa https://www.waterscpagroup.com/
accountant tampa https://www.rgcocpa.com/
accountant tampa https://www.zachcpa.com/
accountant tampa http://jrosencpa.com/
accountant tampa https://www.taxaccountantsoftampabay.com/
79. @patrickstox
@ahrefs
Combine Files
1. Windows Button + R
2. Type cmd and click ok
3. I open the folder where I saved the files in File Explorer and click the address
bar to copy the path
4. Back in Command Prompt, type “cd “ and then press ctrl+v to paste the
copied path
5. Type copy *.csv whatever.csv
80. @patrickstox
@ahrefs
Data Cleaning
1. Insert > Table
2. Insert Column next to Referring Domain to add Count
3. In the Count Column, add the formula =COUNTIF(B:B,[@[Referring
Domain]])
81. @patrickstox
@ahrefs
Data Cleaning
4. Copy the numbers in the Count column and paste in the same place as
values.
5. Data > Remove Duplicates based on the Referring Domain
6. Data > Sort by Count > Largest to Smallest
99. @patrickstox
@ahrefs
Links Without Mentions
Content Title Content URL Author
Elmiron drug linked to vision problems in women https://www.wral.com/elmiron-drug-linked-to-vision-problems-in-women/193138
How Giving Tuesday impacts the Triangle https://abc11.com/society/how-giving-tuesday-impacts-the-triangle-/5732175/
Michael Perchick
5 Best Divorce Attorneys in San Antonio 🥇 https://kevsbest.com/divorce-attorneys-in-san-antonio/
Elevating Others Scholarship at Pennsylvania State University Fayette, Eberly Campus (Penn State Fayette) | Uloop
https://fepsu.uloop.com/scholarships/view.php/1079951447/Elevating-Others-Sch
Whitley law firm new bern nc http://myphamsandy.com/cne0zhw/whitley-law-firm-new-bern-nc.html
‘Air hunger’ opinion a factor in $1.5M settlement – North Carolina Lawyers Weekly
https://nclawyersweekly.com/2014/03/18/air-hunger-opinion-a-factor-in-1-5m-se
David Donovan
104. @patrickstox
@ahrefs
Screaming Frog Process
1. search site:whatever.com term
2. Settings > Search Settings, change to 100
3. Inspect > go to Console tab, see attached code and change the domain to your own
copy and paste the results and you have a list
4. Screaming Frog: In Configuration > Spider > Advanced tab click "Always Follow Redirects"
5. Screaming Frog: In Configuration > Custom > Search, choose ”Contains" and add in your targeted
term or phrase to make sure it exists on the pages.
6. Screaming Frog: Paste URLs and run to get the list of pages that contain the keyword
7. Screaming Frog: When finished, copy these URLs from the custom tab for your filter, now we check
if the link already exists.
8. Screaming Frog: In Configuration > Custom > Search, change to ”Does Not Contain" add the end
part of the URL/URLs that you want to build the links to.
You probably don't want the whole URL because we use relative paths sometimes. This supports
regex, so you can match multiple pages.
Upload your URLs to crawl them, then export that final list when it finishes the same as you did
previously.
Code snippet for 3:
urls = $$('a');for (url in urls) {
var string = urls[url].href,
domain = "whatever.com",
google = "google.com",
search = "search?",
cache = "webcache";
if ( string.indexOf(search) <1 &&
string.indexOf(cache) <1 &&
string.indexOf(google) <1 &&
string.indexOf(domain) >=0 ) {
console.log ( string );
}
110. @patrickstox
@ahrefs
Links To Your Site, But Broken
Websites change over the years and often there are links going to pages that no
longer exist.
Redirects take users and bots to the current pages. They reclaim that lost value.
113. @patrickstox
@ahrefs
Automated Redirect Matching
Fast using URLs, but not accurate if URL structures changed
https://www.searchenginejournal.com/map-404-urls-at-scale-sentence-
embeddings/338555/
Match on full text is much slower but more accurate.
120. @patrickstox
@ahrefs
Catching Errors / Changes – Before Launch
Unit test: does the code work
Integration test: does the code work together
Regression test: something changed
122. @patrickstox
@ahrefs
Technical Automation – On Page
Find error > write rule to fix error
https://developers.cloudflare.com/workers/runtime-apis/html-rewriter
Have a bunch of pages marked noindex that you want indexed? Write a rule.
Want to change nofollow to follow? Write a rule.
Want to rewrite titles and meta descriptions? Write a rule.
https://www.searchenginejournal.com/titles-meta-descriptions-automatically-
python-javascript/360108/
***Disclaimer*** Change in normal systems if you can
Disclaimer, a lot of the things I show are using ahrefs because it’s what I have access to. You can probably find similar features and adjust processes I show to use whatever tools you subscribe to.
Quick wins might be redirects to reclaim links to your site or adding internal links, long term projects things like content creation
this is available right in excel. You just need topic > subtopic > volume
What is driving value to your competitors
Successful content in a whole niche
Pivot table view
Links to pages that may not get much traffic
The purpose of all that research is to figure out what kind of content to create
These are what we considered good pages, not spam
A couple million keywords
How do you be one of those few %?
Maybe fruit should have been a taste also
Burgundy, but it was a region
It’s a bit beyond the traditional informational, navigational, transactional
As a local company I may think I couldn’t compete for wine, but there are maps and even a couple local intent SERPsIf you don’t think you can compete for one intent, go after another
Or go after a SERP feature like videos
Google shows a mix of results to satisfy most users because they want different things. If you look at popular searches you’ll usually find those intents as well
Pages are going to rank for things they talk about
The average #1 ranking page will also rank well for ~1,000 other relevant keywords,
I had varietals classified as origin. Again I’m not an expert, I didn’t know the right terms but I had found this in the data. Now after seeing it on a site it makes sense.
Data or tools to guide you. Lots of content tools like clearscope, marketmuse, frase, surfer, etc.
These don’t necessarily impact rankings, but they will help with conversions
The world isn’t perfect and we don’t have unlimited resources for all of these. I’m not saying someone can’t fill more than one of these but it’s situational.Again this is where content tools may help to fill in the gaps somewhat
Has some issues with facts
You have to make some decisions. Usually if you have 2 results in normal searches it’s because they serve different intents.Do you combine these into one stronger page, try to get the other one to rank?
Look at what you used to rank for that you don’t rank well for now.Update / refresh this content if it has value
Add internal linksFocus on it in general and see why you may not be ranking now
Congratulations! You still have opportunities
This is basically a pagerank calculation that takes into account both internal and external linksPages with more traffic tend to have more and better linksCorrelation does not equal causation
Whatever you see
Sort by target URL or Target Keyword, or Source page if you want to see all opportunities for a page you’re working on
They form clusters or page groups where they’re related
You should verify the status code. You can also check others that are already redirected and see if there’s a better match. Check acquisitions too or old websites to see if your redirects could point to better locations
this is where I live and breathe
Making sure pages are indexed that should be is priority #1. Without being crawled and indexed you can’t rank.
Just like you’d crawl a live site, except there may be some access restrictions
CI/CD pipelines, automated tests
Content king
It’s on the edge, so it changes content before it’s served to users and bots.Middleware Search PilotA/B testing systems like Optimizely Performance Edge. You can sell any “fixes” as an A/B test.