27 April 2023 Blog Posts
In our latest blogs we’ve gone over meta tags and schema markup. The next phase in improving your ecommerce website is looking at best-practice URL structure.
First things first – what is a URL? Short for Uniform Resource Locator, a URL is simply a unique address for file path for a page on the web. This could be a website HTML page, an image, backend file etc
If we think back to the analogy that the www is like a Library and your website is like a book being catalogued in that library, the URL is how the catalogue indexes the page and contents of the website. If there was a table of contents, instead of a page number there would be a unique code.
Because of the above, the URL structure is a very important factor for ecommerce websites because it can impact how search engines crawl and index your website. It also affects how users interact with your website and can influence their decision to click on a link. It is a factor often overlooked by web developers and IT professionals but poor URL structure can have a negative impact on your SEO strategy in a few ways:
Here are some of the most common issues that we find with website URL structure. We will use our fantasy Megantic Wear clothing brand (http://www.meganticwear.com.au/) as an example.
https://www.meganticwear.com.au/category/clothing/
https://www.meganticwear.com.au/id/clothing/
A virtual directory is when a folder is added after the domain and before the actual category, but the page doesn’t exist. For example in the top URL, there is no actual page which is https://www.meganticwear.com.au/category/ and therefore it doesn’t need to be in the URL. The desired URL structure would be https://www.meganticwear.com.au/clothing/
Why are they not ideal? Search engines view the virtual folder as being a parent of the actual category page but it’s not passing any value to it because the page/ folder doesn’t exist.
https://www.meganticwear.com.au/product.asp?id=SKU124342&category=page1
Dynamic URLs are often used when the content from a website is stored in a database and pulled up on demand. This would be common on ecommerce sites when a search query has been used or filters have been applied.
Why is this not recommended? They are fine in those 2 instances, but because these URLs aren’t static (not permanent), search engines can’t crawl and index them and the content on them. So if all of your category and product pages were dynamic, nothing would appear in SERPs if someone is searching for your products.
https://www.meganticwear.com.au/buy-clothes/shirts/purple/
https://www.meganticwear.com.au/category/mens/clothes/buy-tshirts-australia/
A complex directory structure means too many folders and is often used by SEOs or web devs to ‘keyword stuff’ URLs. The theory is that search engines will see the keywords and rank the page based on that.
Why is this looked down upon? By adding lots of folders into the URL, the hierarchy of the website becomes confusing to search engines and a user. Keyword stuffing in any form is against Google guidelines.
https://www.meganticwear.com.au/purple-tshirt/
https://www.meganticwear.com.au/megantic-plain-tee/
The above examples are single-level because they are attached to the homepage and there are no folders or parent.
The ideal structure would be:
https://www.meganticwear.com.au/tshirts/purple/
https://www.meganticwear.com.au/tshirts/purple/plain/
https://www.meganticwear.com.au/jeans/ladies/
Why is this not best-practice? Your website content should be organised and have a hierarchy. In the example of the ideal structure, the subcategory is a child of the category, and the product is a child of the subcategory and so on. This is important for page rank distribution.
The best-practice URL that fits all of Google’s eCommerce guidelines is the parental directory structure. It is logical and makes the most sense to a search engine or a user. Each page fits into a clear hierarchy – no pages are buried, it’s easy to navigate and easy to be crawled/ indexed.
Whether you’re building a new site, upgrading or migrating to another platform or you need to improve the current site, URL structure is integral to a successful website. Keep the below in mind when crafting your URLs:
Example:
https://www.meganticwear.com.au/tshirts/ – directory
https://www.meganticwear.com.au/tshirts – file
For more tips straight from Google, see their URL Structure advice here.
Megantic are the experts in ecommerce SEO. We do this day in, day out and love every minute of it. If you’ve got any questions, please contact our team today.
To find out how we can help your business, get in touch
Get in touch