A trailing slash is the forward slash at the very end of a URL, as in example.co.uk/services/ compared with example.co.uk/services. To a web server and to Google, those can be two different addresses, so a site needs to choose one form and use it consistently.
How trailing slashes work
Historically a trailing slash signalled a folder and no slash signalled a file. Modern sites rarely map URLs to real folders, but the distinction survives. Google treats the two versions as separate URLs, with one exception: on the bare domain, example.co.uk and example.co.uk/ are the same, because a browser always requests the root with a slash.
Platforms set their own convention. WordPress uses trailing slashes by default in its permalinks. Shopify and many JavaScript frameworks do not. Neither choice is better for rankings. The problem only arises when both versions load the same content with a 200 status, which creates duplicate content and splits signals between two addresses.
A well-configured site answers the non-preferred form with a 301 redirect to the preferred one, and each page carries a canonical tag pointing at the preferred version.
Why it matters
On its own, a mix of slashed and unslashed URLs rarely causes a disaster; Google is good at picking one version. But it adds avoidable noise. Links from other sites may point at both forms, internal links may be inconsistent, analytics reports split one page into two rows, and crawlers waste time fetching duplicates. On a large ecommerce site, combined with tracking parameters and filters, this multiplies quickly.
It matters most during migrations. Moving from WordPress to Shopify, for instance, often changes the slash convention on every URL. If redirects map old slashed addresses to unslashed ones that themselves redirect, you get chains across the whole site. The same happens when a developer changes server rules during a hosting move and nobody checks the redirect behaviour afterwards.
A quick illustration: a Kent estate agent’s site loads both /properties-for-sale and /properties-for-sale/. Some property portals link to one, the site’s own menu to the other, and the agent’s newsletter to a third variant with a tracking parameter. Google eventually picks a version, but until it does, links and reporting are split three ways for no benefit.
Common mistakes
- Both versions returning 200. The most common fault; check by loading a page with and without the slash.
- Inconsistent internal links. Menus using one form and body links using the other, so every click passes through a redirect.
- Canonicals that disagree with redirects. A page that redirects to the slashed version but canonicalises to the unslashed one sends mixed signals.
- Redirecting files. Adding a slash to URLs ending in .pdf or .xml breaks them.
How to act on it
Pick the form your platform already uses; switching convention on an established site creates redirects for no gain. Test a few pages by typing each version into the browser: the wrong one should 301 to the right one in a single hop. On Apache servers this is often a rule in the .htaccess file; on WordPress the permalink settings handle it.
Then crawl the site and look for internal links to the non-preferred form, canonicals that do not match the final URL, and any redirect chains. Keep the convention in mind when planning a new URL structure. Fixing these alongside other duplication problems is part of a technical SEO audit and fix.
