Advanced SEO Techniques

Full Site SEO Text Search

Overview
Structured Data
Structured Data Overview
10:18
501
Adding JSON-LD Structured Data
16:29
502
Site Name JSON-LD
503
Articles, News & Blog Post JSON-LD
504
Site Search JSON-LD
506
Client Reviews JSON-LD
506
Breadcrumbs JSON-LD
508
FAQ Page JSON-LD
509
Q&A Page JSON-LD
510
Twitter Cards
601
Embedding Rich Text in JSON
702
Validating & Debugging JSON-LD
703
Technical SEO
Controlling the Robots
801
Sitemap.xml
802
robots.txt
803
Removing Pages from Google
804
Removing Your WEBFLOW.IO Staged Site from Google
805
More Advanced SEO Techniques
810
Voice Search
810
Partially-Dynamic Headings
3:35
811
Full Site SEO Text Search
3:35
812
Influencing Google Search Appearance
Influencing Google's Search Appearance
901
No items found.
Published
October 8, 2024
Updated
in lightbox

Sometimes you need to find a specific string everywhere it exists on your website.

I've seen this happen for several reasons

  • When a brand name changes.
  • When a client must change terminology on a site for legal / industry reasons.
  • When a specific term is causing problems with Google Ads or other integrations.

This process usually consists of three phases-

  1. Find all pages which contain the matching string
  2. Find the specific locations in the pages which contain that string
  3. Updating the content, publishing, and then repeating the entire process again

Here are some approaches;

Google Search

If your site is indexed on Google

However-

  • The site: feature is not comprehensive
  • Not all of your site will be indexed in Google
  • There is little indication of where exactly the match was found in a page

Webflow Site Search

A quick-and dirty way to search your site content is to setup and utilize Webflow's own site search feature.

However it's highly limited-

  • It prefers full words, rather than partial words
  • It is not tolerant of misspellings
  • It re-indexes content infrequently, typically every 4 days

Deep Search ( wget )

When you absolutely need to find everything, your best course is to download the entire HTML ( only ) of your site, and then scan it for your keyword.

Downloading the HTML of your full site

Sygnal uses Windows 11 primarily so we use wget for this. A typical HTML-only download would look something like this;

wget --mirror --html-extension --convert-links --domains www.mysite.com -R jpg,jpeg,png,gif,css,js,ico,svg -P d:/temp https://www.mysite.com

Note;

  • Your domain name will appear under domains, and as the full http:// domain. Make sure to change those to yours.
  • This assumes that you have www set as your default domain.
  • The download directory in the example code is d:/temp, adjust yours.

This will take some time to run, but will download only the HTML of your site into that directory.

Searching your downloaded HTML

In Windows you can use findstr and target your directory of HTML;

findstr /s /i /n "search_term" D:\temp\*.*

To clean up these files later;

rmdir /s /q www.mysite.com

Finding the specific text in your page

For surface-level text that's exposed to the user, you can view you page in a browser and CTRL+F to find the matching text.

However this will not find hidden text, text in URL paths, image alt text, or META descriptions- which matter a lot in certain situations.

Therefore to get more precise, you'll likely need to open the page and use Chrome devtools to locate the specific text.

  • Open the page
  • CTRL+SHIFT+I to open Chrome Devtools
  • CTRL+SHIFT+F and search for the matching text

This will show you exactly where it is in the HTML.

Videos
No items found.
Table of Contents
Comments
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.