Clean a URL list before an index check: UTM tags, duplicates and trailing slashes
An index check is only as good as the list you feed it. A list exported from a CRM, a link report or a spreadsheet usually holds the same page three or four times: once with ?utm_source=newsletter, once with http://, once with a trailing slash, once with #reviews at the end. Checked as is, the report says some copies are “not indexed”, you pay for duplicate checks, and the real problem pages hide among false alarms. This note explains which variants matter to Google, which do not, and the order in which to clean a list before you check or submit it.
Why the same page shows up as “not indexed”
Google indexes one canonical URL per group of duplicates. When several addresses return the same content, Google picks one of them and treats the rest as duplicates of it; the canonicalization documentation describes this process. If your list holds the tracking-tagged copy and Google indexed the clean one, an index check on the tagged copy correctly reports “not indexed”. The page is fine. The list is wrong.
The fix is not to argue with the checker but to send it the URL Google is most likely to have chosen: the address your site links to internally, declares as canonical and lists in its sitemap.
Variants that change the URL for Google
These parts of an address make a different URL, even when the server returns the same page:
| Part | Example | Notes |
|---|---|---|
| Protocol | http:// vs https:// |
Different URLs. On a site that redirects to https, the http copy is not what Google keeps. |
| Host | www.example.com vs example.com |
Different hosts. Pick the one your redirects and canonical tags point to. |
| Path case | /Blog/Post vs /blog/post |
Paths are case-sensitive. Host names are not. |
| Trailing slash | /guide vs /guide/ |
Different URLs, except for the root (example.com and example.com/ are the same). |
| Query string | /shoes?utm_source=x vs /shoes |
Every parameter combination is a separate URL. |
Google’s URL structure guidelines also warn that unnecessary parameters multiply URLs for the same content, which is exactly what a tracking-tagged list does.
Variants Google ignores
The fragment, the part after #, is never sent to the server, and Google’s URL structure guidelines say Search generally does not support fragments for changing content. /pricing#faq and /pricing are one page for indexing purposes. Keeping fragments in a list only creates duplicates in the report.
The cleaning order that works
Order matters, because each step can create new duplicates that the final deduplication must catch.
- Drop lines that are not URLs. Exports often carry headers, notes and empty rows.
- Remove tracking parameters. UTM tags (
utm_source,utm_medium,utm_campaign,utm_term,utm_contentand the newerutm_*fields) and click IDs such asgclid,fbclid,msclkidandyclidnever change page content. Keep functional parameters like?page=2or?id=unless you know the site ignores them. - Remove
#fragments. - Convert http to https if the site redirects to https.
- Lowercase the host name only. Never lowercase the path:
/Report.PDFand/report.pdfcan be different files. - Normalise the trailing slash to the form the site actually uses. If unsure, leave it as is; a wrong guess turns working URLs into redirects.
- Deduplicate last, after every rule above has been applied.
A browser tool does all seven steps on a pasted list or a TXT/CSV file and keeps the data on your device: https://indexfixtools.com/url-list-cleaner/
It removes utm_*, gclid, fbclid, msclkid, yclid and similar parameters, strips fragments, switches http to https, lowercases host names and offers three trailing-slash modes (keep, add except for file URLs, remove). It can also keep only one domain and its subdomains, which is handy when a backlink export mixes your pages with other sites. It does not fetch the URLs; it only cleans the text.
A short example
Input, five lines from a newsletter report:
http://Example.com/guide?utm_source=mail&utm_medium=email
https://example.com/guide/#step-3
https://example.com/guide/?fbclid=IwAR0abc
https://example.com/Guide/
Clicks: 214
With tracking parameters and fragments removed, http converted, the host lowercased and the trailing slash added:
https://example.com/guide/
https://example.com/Guide/
Five lines became two, and the two that remain are a real question: does the site serve /Guide/ and /guide/ as different pages? That is worth checking by hand before you pay to check indexing.
What to check after cleaning
- Pick the host and slash form from the site, not from habit. Open one URL from the list and follow redirects; the final address is the form to normalise to.
- Compare with the sitemap. If the cleaned list and the sitemap disagree on trailing slashes, the site itself is inconsistent, and Google may be choosing canonicals you did not intend.
- Keep the raw export. When a cleaned URL comes back “not indexed”, the original line tells you where the tagged copy came from.
Then run the check. For pages on your own Search Console property, the URL Inspection tool gives the canonical Google selected. For lists that mix your pages with backlinks on other sites, an external tool such as the Google index checker accepts any URL, so a clean list there saves both money and false alarms.
FAQ
Should I remove all query parameters? No. Remove tracking parameters always; remove all parameters only when you know the site’s content does not depend on them (for example a blog with no pagination parameters).
Does Google treat /page and /page/ as the same URL?
No, except for the root of the domain. Most sites redirect one form to the other; normalise to the form that answers 200.
Is HTTP://EXAMPLE.COM/Page the same as https://example.com/Page?
The protocol differs, so not exactly; the host case does not matter. The path Page keeps its capital letter.
Why deduplicate last? Because removing a UTM tag or a slash difference turns two different lines into the same URL. Deduplicating first would miss those.
Sources
- Google Search Central: What is URL canonicalization — https://developers.google.com/search/docs/crawling-indexing/canonicalization
- Google Search Central: URL structure best practices for Google Search — https://developers.google.com/search/docs/crawling-indexing/url-structure
- Google Search Central Blog: To slash or not to slash — https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash