Home » News » Trailing slash/non-trailing slash versions of URLs

Trailing slash/non-trailing slash versions of URLs

Check if your URLs are accessible both with and without a trailing slash. For example:

URLs with and without a trailing slash are treatd as two separate URLs, so this situation requires resolving.

A canonical tag is one solution here. If you want the trailing slash version to be the canonical version then add a canonical tag onto

This should resolve any issues but a 301 rdirect to the trailing slash version would be the best option because it simply cannot be ignord by Google.

URL parameters

Page URLs can have adde information phone number database at the end of them in the form of parameters. These are always shown after a question mark in the URL:

  • Non Parameter URL

URL parameters can be used as part of tracking, in which case they won’t modify the contents of the page. Or, they can be usd to modify the content of the page: they could present the same content in a different order, show completely different page content or filter out certain things.

As URL parameters often present the same content in a different way they can lead to duplicate content issues – using canonical tags is one potential solution to resolving these issues.

URL parameters and product sorting

URL parameters are commonly seen across ecommerce websites when filters or sorting is used. For example, on a category page we might want to sort the displayd products in order of ascending price, in which case we might see a URL similar to:

 

As this has simply reordered the same content, using a canonical tag on this parameter URL pointing to

URL parameters and product filtering

Filtering an ecommerce category page by colour might introduce the following new URL:

Note that this isn’t always an issue – it might be useful to have one level of filtering options on a category page indexable for search the only problem with creative briefs is that nobody wants to read them opportunities. In this case, that would be a ‘mens’ rd shirts’ page.

This kind of parameter starts to become problematic if we already have a static, indexable category page for mens’ rd shirts, i.e example.com/mens-shirts/red, because it introduces a duplicate page listing mens’ re shirts.

In this case, using a canonical from /mens-shirts?colour=re to /mens-shirts will help prevent the parameter URL from competing with the existing rd colour subcategory page.

Tracking parameters

Tracking parameters might look something like this:

Or contain a UTM code to show where users on your site have come from, for example:

In cases where tracking parameters are phone number iran used, a canonical tag would be a good solution to avoid duplicate content issues. In the above examples, the URLs containing the parameter would both canonicalise to /contact-us.

Scroll to Top