TL;DR "X vs. Y" pages work because they answer the exact question people ask right before they decide. The most important part is a comparison table in plain HTML, because that is what search engines and AI assistants can actually read. The flow is simple: pick a pair, prepare your facts, build the table, add context and FAQ, publish, then check if AI mentions you. Semly sits on top of WordPress: it shows what people ask, helps you publish, and tracks whether AI recommends you.
If you run a WordPress site and you keep hearing that "X vs. Y" searches matter, this guide is for you. You do not need to be a developer. You just need a clear plan and a bit of patience.
By the end, you will know how to pick the right comparison, build a table that both Google and AI assistants can read, and check whether your page actually shows up when someone asks an AI which option is better.
How to Create Product or Service Comparisons in WordPress (Step by Step)
Here is the whole process in order. Pick a pair, gather your facts, build the table, write the content around it, publish, then measure. If you have no real data about the products or services you want to compare, or if the comparison would be unfair, stop there. A weak or one-sided page does more harm than good.
You do not need a programmer for any of this. You do need a few hours and a clear head.
Step 1: Pick the Right "X vs. Y" Pair
Start with a comparison people actually type. The easiest way to find one is to look at what your customers already ask you. Check your inbox, your chat logs, and the questions your sales team hears every week.
Then look for hints in search. Type your product name into Google and watch the autocomplete suggestions. Look at the "People also ask" box. Those questions are a goldmine.
You can also ask an AI assistant directly. Type something like "what are people comparing when they look for [your category]" and see what comes back. This is where Semly helps too. It analyzes the prompts people use and shows you which comparison queries mention your brand, your competitors, or your products. That way you are not guessing.
Pick one pair to start. Not five. One.
Use these simple criteria:
- Demand: are people actually searching for this pair?
- Decision stage: is this a question someone asks right before buying?
- Data access: can you get honest, accurate facts about both options?
If the answer to all three is yes, you have your first page.
Step 2: Prepare Your Inputs Before You Build
Do not open WordPress yet. Gather everything first, so the build goes fast.
Here is your checklist:
- A list of features or criteria you want to compare.
- Real data for both options. Specs, pricing, limits, support, whatever matters.
- Images or logos you have the right to use.
- A short "who should choose what" summary for each side.
- A clean URL, something like /compare/option-a-vs-option-b/.
The data is the part people skip, and it is the part that matters most. If you cannot fill a row with a real fact, leave the row out. Empty or vague cells make the whole table look untrustworthy.
Step 3: Build the Comparison Table (Static HTML, Not JavaScript)
This is the step that decides whether your page gets seen. Build the table in plain HTML.
In WordPress you have a few options. The built-in table block works fine for simple comparisons. If you want more control, a table plugin gives you styling and sorting. Either way, the table itself must be real HTML on the page.
Why does that matter? Because AI assistants and search crawlers read the HTML of your page. If your table is rendered by JavaScript, or if it is just a picture, they often see nothing. No table means no citation.
A few things to get right:
- Use proper header cells for your columns and rows, so the structure is clear.
- Keep the number of columns small. Three or four is plenty.
- Make sure it is readable on a phone. Test it yourself.
- Do not bury the table far down the page. Put it near the top.
What to watch out for: the two most common mistakes here are a table that only exists as an image and a table that only appears after JavaScript runs. Both look fine to you and invisible to AI. If you are not sure, view the page source and check that the table content is actually there.
Step 4: Add the Content Around the Table
A table alone is not enough. You need context that an AI assistant can quote.
Start with a short intro that gives the answer up front. Something like "If you need X, go with A. If you need Y, go with B." People want the verdict fast, and so do AI models.
Then add a simple section:
- Choose A if...
- Choose B if...
After that, write a short paragraph for each feature you compared. Explain what the difference means in practice, not just what the numbers are.
Add an FAQ with real questions. Use the ones you found in "People also ask" and the ones your customers send you. Keep the answers short and direct.
This is also a good place to mention Semly. It shows you what people actually ask about your category and how your brand appears in AI answers, so you can write the sections that matter instead of guessing.
A complete page usually has: a quick verdict, the table, feature sections, a "choose X if / choose Y if" block, an FAQ, and a clear next step for the reader.
Step 5: Publish, Then Check If AI Cites You
Hit publish. Then check that the page is live and that search engines can find it. Give it a little time before you expect anything.
Next, test the AI side. Open ChatGPT, Gemini, Claude, or Google AI and ask your comparison question the way a real person would. See if your brand shows up. Try a few different phrasings, because answers change.
This is where Semly does the heavy lifting. Instead of checking one model by hand every week, you can track mentions and recommendations across several models in one place. You can also publish and update your WordPress articles from Semly, so writing and measuring live together.
Your post-publish checklist:
- The page is live and loads fast.
- The table is visible in the page source.
- The URL is clean and readable.
- The FAQ is on the page.
- You asked at least two AI assistants your comparison question.
- You set a reminder to check again in a few weeks.
If AI does not mention you yet, do not panic. Update the page, add more real detail, and check again. Trends matter more than a single result on a single day.
Common Mistakes and How to Fix Them
Most comparison pages fail for the same handful of reasons. Here is what to look for and how to fix it fast.
- The table is only an image. Symptom: it looks great but nothing reads it. Fix: rebuild it as a real HTML table.
- The table is rendered by JavaScript. Symptom: you see it, crawlers do not. Fix: use a static table block or plugin that outputs HTML.
- The comparison is one-sided and pushy. Symptom: readers do not trust it and AI skips it. Fix: be honest about where the other option wins.
- There is no verdict at the top. Symptom: people bounce because they have to hunt for the answer. Fix: add a short "choose A if / choose B if" summary near the top.
- There is no FAQ. Symptom: you miss easy questions and easy citations. Fix: add real customer questions with short answers.
- The page is never updated. Symptom: old facts and stale pricing. Fix: review it every few months.
- Nobody checks AI visibility. Symptom: you have no idea if you are being recommended. Fix: track your mentions across models, not just your rankings.
What to Do Next
Once your first page works, do not stop there. Add more "X vs. Y" pairs. Each one is another door into your site.
Build a /compare/ section so all your comparisons live together. That makes them easier to find and easier to link between.
Come back to each page every few months. Update the facts, refresh the pricing, and add new questions you have heard since.
You can also try "alternatives to X" pages. They catch people who are already unhappy with another option and are looking for something else.
And when you want to go further, connect WordPress with Semly. You can publish and update your comparison content and measure how visible your brand is in AI answers, all in one place. If you want a quick starting point, a free AI visibility report shows you where you stand right now.
The goal is simple. Make the page easy for people to read and easy for AI to quote. Do that, and your "X vs. Y" pages start working for you.