On this page
What this issue is
A trailing slash is the / at the end of a URL. Technically https://example.com/pricing and https://example.com/pricing/ are different addresses. Many servers answer both with the same page and a 200 (OK) status, instead of sending one to the other.
Search engines usually work out which one you prefer, so this is rarely a disaster. But you are leaving the choice to them, and every link, share and ad click may point at either version.
- Visitor or linkUses /pricing or /pricing/
- ServerReturns 200 for both, no redirect
- Search indexTwo URLs compete for one page
- ReportsTraffic and links split across two paths
Both versions return 200, so signals are split between them.
Why it costs you leads or sales
The direct cost is small, which is why this is rated low impact. The indirect costs add up on busy sites:
- Backlinks and shares are split between two URLs instead of building one.
- Google may pick the version you did not intend as the canonical (the main URL it keeps in results).
- Analytics and ad reports list the same page twice, making landing page results harder to read.
- Crawl time is spent on duplicates, which matters most on large sites.
- A/B tests and conversion goals that match an exact path can miss one version.
Example: 1,000 monthly visits to one page, shown as two rows in analytics.
How to check if your site has it
Load both versions
Open a page with and without the trailing slash in a private window. If the address bar keeps what you typed and the page loads, there is no redirect.
Check the status code
Run the commands below. A redirect shows 301 and a Location header. Two 200 responses mean both resolve.
Check the canonical tag
View source on both versions and search for rel="canonical". Both should point at the same single URL.
Crawl the site
Tools such as Screaming Frog or the Page indexing report in Google Search Console show duplicate or alternate URLs. Look at the sitemap too.
curl -sI https://example.com/pricing | head -n 5
curl -sI https://example.com/pricing/ | head -n 5How to fix it
First choose a format. Either works for SEO. Pick the one your platform already favours, keep it everywhere, and redirect the other with a 301 (permanent redirect). Do not redirect files such as .css, .jpg or /index.php-style paths blindly.
Check Permalinks
In Settings > Permalinks, see whether the structure ends with a slash (for example /%postname%/). WordPress normally redirects to match it.
Look for conflicts
If both versions still load, a caching plugin, redirect plugin or server rule may be overriding WordPress. Disable them one at a time and retest.
Check your SEO plugin
Make sure the canonical output matches the chosen format. Clear the cache afterwards.
Know the default
Shopify serves its own pages without a trailing slash and redirects the slash version in most cases. Test a page and a collection.
Fix leftovers
If a specific URL still resolves both ways, add a redirect in Online Store > Navigation > View URL Redirects, and update menu and theme links to the clean format.
Not a fix location
GTM cannot redirect URLs. Use it only to check that triggers and page path variables match both formats until the redirect is live.
Use 301 redirects
Webflow normally serves pages without a trailing slash. If a slash version loads, add a rule in Site settings > Hosting > 301 redirects, such as /pricing/ to /pricing.
Republish
Publish the site and retest both URLs.
Use the redirect manager
Wix usually handles slash variants itself. If one still resolves, add a 301 in Marketing & SEO > SEO Tools > URL Redirect Manager.
Add URL mappings
Squarespace generally redirects the variant. If not, add a rule in Settings > Developer Tools > URL Mappings, for example /pricing/ -> /pricing 301.
Apache
Add a rewrite rule in .htaccess (see the snippet below) that removes the slash from non-directory requests.
Nginx
Add a rewrite in the server block, then test the config and reload.
Align the rest
Update canonical tags, internal links and the XML sitemap to the chosen format.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L]rewrite ^/(.*)/$ /$1 permanent;How to confirm it's fixed
- The non-preferred version returns a single 301 to the preferred one.
- The preferred version returns 200.
- The canonical tag on both points to the preferred URL.
- The sitemap lists only preferred URLs.
- A test URL with ?utm_source=test keeps its parameters after redirecting.
- Key forms and checkout pages still load and submit normally.
How to prevent it happening again
Write down the chosen format and use it in every new link, menu, ad destination and sitemap. Recheck after a migration, theme change, new caching layer or CDN rule, because these often reset redirect behaviour. A periodic crawl catches strays.
How FunnelGuard handles this
FunnelGuard does not check for trailing slash duplicates yet. It is a possible future check. Today FunnelGuard runs your real customer journeys, such as lead forms and checkouts, on a schedule and checks each step and the tracking hits, so it can show if a journey breaks after a redirect rule change.
To watch for this issue, run the curl check above on your key pages after each release, crawl the site regularly with a tool like Screaming Frog, and review the Page indexing report in Google Search Console. A free read-only FunnelGuard website audit is available, and the Free plan covers 1 site and 2 journeys.
Questions people ask
Do trailing slashes matter for SEO?
The slash itself does not help or hurt rankings. What matters is consistency: if both versions return 200, search engines see duplicates. Pick one, redirect the other and keep it consistent.
Should I use a trailing slash or not?
Either is fine. Follow your platform's default, because fighting it creates conflicts. Whichever you choose, use it in canonicals, internal links and the sitemap.
Why do both /page and /page/ load on my site?
The server or CMS is treating both as the same page without redirecting. This often happens after a migration, with a caching plugin or when a rewrite rule is missing.
Will Google penalise me for trailing slash duplicates?
No penalty is applied for this. Google usually picks one version, but it may choose the one you did not intend and split signals. A redirect and canonical remove that guesswork.
How do I redirect the trailing slash version to the non-slash version?
Add a 301 redirect rule. On Apache use a RewriteRule in .htaccess, on Nginx a rewrite in the server block, and on hosted platforms use their redirect manager.
Is a canonical tag enough instead of a redirect?
A canonical is a hint, not a command, and visitors and links still land on both URLs. A 301 redirect plus a matching canonical is the stronger setup.
Does the homepage need a trailing slash fix?
No. https://example.com and https://example.com/ are treated as the same address by browsers, so you do not need to redirect between them.
Related issues
- SEO-053Both www and non-www versions resolve with 200Fix guide
- SEO-054Both http and https versions resolve with 200Fix guide
- SEO-056Uppercase and lowercase URL variants both resolveFix guide
- SEO-057index.html / index.php duplicates of folder URLsFix guide
- SEO-042Missing rel=canonical on indexable pagesFix guide
- SEO-052Google chose a different canonical than declaredFix guide