What Everyone's Talking About
Check out our updates on Search Engine Optimisation, Social Media Marketing,
PPC Management Content Marketing, Facebook Advertising, e-mail Marketing etc.
Posted on: Feb 02, 2020 9 min read
Do you know what a trailing slash is? It is the slash (‘/’) that comes at the end of an URL.
Whether a trailing slash is included or not, you can conveniently reach the same site.
That is both the URLs below which will take you to the same website.
Apparently, and for non-technical minds, the tiny slash does not matter. But is it same for professionals too?
An experienced search engine optimiser in London says, in Google Analytics (GA) this is going to make a havoc difference. It may be mentioned here that the search engine optimiser works in a leading SEO agency in London and possesses years of in-depth industry experience.
It is relevant mentioning that when you omit a trailing .HTML (or anything similar) at the end of a URL, many websites – particularly those powered by Magento and WordPress frameworks – allow access to the same webpage.
But with Google Analytics, the matter is different. It records the two versions (with and without the trailing slash) of the URL differently. The GA is least bothered whether the content is the same or not. It only shoulders the responsibility of recording page-view URLs, which are different by including and omitting the trailing slash.
And it is important that you get this issue fixed early. How? Keep reading through this blog post to find out.
There are different ways by which users get the two versions of your website URL. These include the following:
There are many reasons for which you must promptly fix the issue of duplicate URLs. These include the following:
It is not always possible to prevent duplicate URL generation. But, what you can do is keep removing them from the GA to avoid any confusion or negatively affecting the data analytics.
SEO experts in London suggest the following tips to overcome the problem of duplicate links or URLs:
Point to note:
You must add a trailing slash to a URL under the following conditions:
^(/[a-z0–9/_-]*[^/])$
Once this is completed, just save the filter.
Test whether the new filter works smoothly as expected. Here are some easy tips to test it.
Google Analytics -> Real Time Report -> Top Active Pages
There, you will see both the active pages resulting from the steps above.
It is important to note that this filter does not update historical data on its own. It just keeps forwarding the new data or updated information.
While fixing the issue of duplicate URLs, let’s also explore how to fix duplicate content issues quickly.
Duplicate content issues usually arise from the following:
A product or products that can be accessed through more than one URL: This problem arises when your customers can access your products through both
But, you can easily overcome this issue simply by having an identical canonical link set on both the pages.
For final checking, you have to visit every product page on the website -> right click the mouse -> view page source -> press the ‘control’ or ‘command’ button along with F to search for the term “canonical”.
This can be a little tricky based on the e-Commerce framework you have like Magento, WooCoomerce and Shopify.
Suppose you have a Product page where users can select a variant like size or colour. Your URL will change where you have a query parameter at the end while no on-page content changes. In such circumstance, you may want to remove size in the Google Search Console setting. It is alright making the necessary changes provided you’ve already placed a canonical link with reference to the last step.
You may have Product pages where similar products are broken down into separate pages based on each variant and all the individual pages use the same content. Now, this is indeed a tricky situation. To overcome this problem, you can try out any of the options below:
You need to customise the URL parameter setting in the GSC to achieve this aspect, suggest experienced search engine optimisers at DubSEO. Basically, this enables you to control the Google bot when it comes to crawling your website more efficiently.
When you sort by ‘a-to-z’ or price ‘high-to-low’ the page content does not change. Therefore, it’s crucial to ensure that:
This is the Google Search Control setting you have to work on: