5 Powerful ChatGPT Prompts for Technical SEO

5 Powerful ChatGPT Prompts for Technical SEO

During the last several months of 2022 most of the internet has been captivated by a new artificial intelligence software called ChatGPT. While the technology is a breakthrough in artificial intelligence and automated content development it is also a complete game-changer for the world of digital marketing. This is especially the case for SEO where many are concerned that it could make their jobs obsolete and others are looking at the new artificial intelligence as a powerful tool to help automate and fine-tune their already existing processes. While it is still unclear what type of impact this new technology will have on the world we can see early on some of the main advantages digital marketers can utilize to make their jobs easier. In this blog post I’m going to detail 5 powerful ways to use this new technology to make your technical SEO work faster and more efficient.

Create Static XML Sitemaps

Most modern Content Management Systems include the ability to create automated dynamic XML sitemaps that do not require the SEO to create on their own. However there are always instances where an SEO will come across a collection of static web pages or even content managed with a custom CMS that does not include a sitemap. In situations where this is the case the SEO may be required to generate their own static XML sitemap by hand. With ChatGPT we can make this process relatively easy by providing a list of URLs that should be included in the XML sitemap with some simple directions on what to do next.

Prompt:

Create a valid XML site map that includes the following URLs:

https://hallanalysis.com/
https://hallanalysis.com/learn-seo/
https://hallanalysis.com/about/
https://hallanalysis.com/blog/
https://hallanalysis.com/json-ld-generator/
https://hallanalysis.com/site-map/
https://hallanalysis.com/white-label-seo-audits/
https://hallanalysis.com/seo-meta-tag-generator/
https://hallanalysis.com/consulting/
https://hallanalysis.com/testimonials/

ChatGPT Response:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://hallanalysis.com/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/learn-seo/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/about/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/blog/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/json-ld-generator/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/site-map/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/white-label-seo-audits/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/seo-meta-tag-generator/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/consulting/</loc>
  </url>
  <url>
    <loc>https://hallanalysis.com/testimonials/</loc>
  </url>
</urlset>

Create JSON-LD Schema

Ever since JSON-LD was first deployed in 2010 there have been thousands of different JSON-LD generators to help SEO develop this type of schema markup without coding anything at all. However these types of automated generators rely on our understanding of the types of schema required before any information is given. Now with ChatGPT a SEO only needs the required information about the web site or content to get started.

Prompt

Generate JSON-LD schema for a local restaurant named Chez Joe’s Gourmet Hotdogs at the address 1234 Frankfurter Street, Columbia SC 29201 with the phone number 803-555-3434.

ChatGPT Response:

{
  "@context": "http://schema.org",
  "@type": "Restaurant",
  "name": "Chez Joe's Gourmet Hotdogs",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "1234 Frankfurter Street",
    "addressLocality": "Columbia",
    "addressRegion": "SC",
    "postalCode": "29201"
  },
  "telephone": "803-555-3434"
}



Create Crawl Directives For Robots.txt

Most websites never need to edit their robots.txt file. However most of the time when editing is required it takes an advanced understanding of robot directives in order to develop the right crawl and blocking rules. For example you may want to prevent crawlers from accessing certain directories and at the same time allow for accessing subdirectories inside the blocked original. When these types of advanced rules are required ChatGPT can help easily develop the right robots.txt directives to allow custom crawling and blocking rules.

Prompt

Create a robots.txt file that blocks Bing from crawling the /assets/ directory, but allows crawling the /assets/javascript/ directory.

ChatGPT Response:

User-agent: Bingbot
Disallow: /assets/

User-agent: *
Allow: /assets/javascript/

Create Robots Meta Tags

There are plenty of automated SEO meta tag generators that can help generate the perfect meta robots tag. However in some instances it may be easier to simply tell ChatGPT exactly what you want in one command instead of selecting options through a list inside a tool.

Prompt

Create a robot’s meta tag that allows a page to be indexed, allows for links to be followed, but limits the number of characters in the text snippet to 46.

ChatGPT Response:

<meta name="robots" content="index,follow,snippet:46">

Redirect URLs With Custom .htaccess Rewrite Rules

Setting up a proper 301 redirection is an almost required task for every SEO during the course of their career. There are plenty of ways to implement these types of redirections however utilizing an .htaccess file can allow for the redirection to come directly from the web server instead of a CMS or other outside utility. Using a .htaccess can carry some risk though as the directives are sometimes case sensitive and are prone to error. Such errors can cause site wide issues. Therefore when using custom .htaccess rules you should always test on a development server before deploying live. This is especially true for ChatGPT that relies on public information instead of testing live code.

Prompt

Create a htaccess rewrite rule that uses a 301 redirection to redirect /about.html to /about-us/

ChatGPT Response:

RewriteEngine On
RewriteRule ^about\.html$ /about-us/ [R=301,L]

Using ChatGPT to implement technical SEO tactics can be a quick way to implement SEO best practices and tactics. However it is critical that a base understanding of each of these tactics be utilized to ensure that the ChatGPT output is correct not only for the objective you’re trying to implement but also to mitigate the risk of errors.

Joe Hall is an SEO consultant focused on analyzing and informing the digital marketing strategies of select clients through high level data analysis and SEO audits.


6 thoughts on “5 Powerful ChatGPT Prompts for Technical SEO

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>