Book The Best Discovery Call Of Your Life (Worth RM2,500)
SEO8 October 202610 min readJim NgBy Jim Ng

URL Structure For SEO: What Matters And What Does Not

A URL is the address of a page. See what Google's URL structure guidance asks for, which old rules to ignore and when a Malaysian website should change one.

In This Article

What You'll Learn in This Article

8 key topics covered to help you take action.

📌
01

The Parts Of A URL

💡
02

What Google's Guidance Asks For

🎯
03

Rules You Will Hear That Google Does Not Give

📊
04

Where An Address Is Seen

🔑
05

One Page, One Address

✅
06

Addresses On A Site In More Than One Language

📈
07

Before You Change An Address

⚙️
08

How To Check Your Own Addresses

Best Marketing Malaysia

Here are two addresses for the same page on a furniture shop's website. One is yourshop.com.my/index.php?id=372&cat=9. The other is yourshop.com.my/sofas/l-shaped/. The second tells a shopper what is behind it before they tap. That much is common sense, and Google agrees with it.

Beyond that point, page addresses attract more folklore than any other part of SEO: rules about length, keywords, small words and capital letters that Google's own guidance does not contain. Meanwhile the one thing that does real damage, changing addresses carelessly, is treated as a routine tidy-up. This guide sorts the two apart for the owner of a Malaysian website, and for whoever builds it.

The Parts Of A URL

URL stands for uniform resource locator. It is the full address of a page, and this one has all five parts.

https://www.yourshop.com.my/sofas/l-shaped/?colour=grey#reviews

  • https:// is the protocol. The s means the connection is encrypted.
  • www.yourshop.com.my is the domain, the name you registered.
  • /sofas/l-shaped/ is the path. You choose it page by page, and most of this guide is about it.
  • ?colour=grey is a parameter. It changes or tracks what the page shows.
  • #reviews is a fragment. It jumps to one spot on the same page.

URL structure is the pattern those parts follow across the whole site. The domain is a separate decision, and the common questions about it are answered in our guide to domain age.

What Google's Guidance Asks For

Google's page on URL structure is short. For an ordinary business site it comes down to six points.

  1. Readable words, not ID numbers. /sofas/l-shaped/, and not /index.php?id=372.
  2. Words in your audience's language. If your customers search in Bahasa Malaysia, /kabinet-dapur/ is a proper address. Google's own examples include addresses in German, Japanese and Chinese.
  3. Hyphens between words. Google recommends hyphens over underscores because they help people and search engines pick out the concepts in an address. It also lists words joined together, as in /greendress, as not recommended.
  4. As few parameters as you can. Trim the ones that do not change what the page shows.
  5. One case. Google treats /Sofas and /sofas as two different addresses. If your server shows the same page for both, its advice is to convert everything to one case. Lower case is the usual choice. It is not a rule.
  6. No fragments to change what a page shows. Google says it generally does not support fragments. Its guide for online stores gives the example: an address ending in #black and one ending in #white are the same page to Google. A fragment that only jumps down the page does no harm.

Rules You Will Hear That Google Does Not Give

  • "Keep it under a set number of characters." The page states no limit. A shorter address is easier to read out and to share, and that is the whole case for it.
  • "Put your keyword in the address to rank." Google's SEO Starter Guide says keywords in a domain name or URL path alone have hardly any effect beyond appearing in breadcrumbs. The guide for stores says descriptive words may help Google better understand the page. So choose words that say what the page is, and stop there. /sofas/ is enough. /best-cheap-sofa-shop-online/ helps nobody.
  • "Remove small words like 'the' and 'and'." Nothing in Google's guidance says so. Keep them where the address reads better with them.
  • "Folders show Google how your site is organised." Google says it generally does not look at the structure of URLs to work out the structure of a site. It reads the links between pages. The Starter Guide names one case where folders help: on a site with more than a few thousand addresses, grouping similar pages in a directory can help Google learn how often that group changes. For everyone else, folders are for people. Planning the site itself is the subject of our guide to website structure.
  • "https is a ranking factor." Use https, because it encrypts what your visitors send, and because Google prefers the https version of a page when it has to choose between two. Do not expect a lift in position from it. Google's page on page experience lists serving pages securely among its questions, and says that beyond Core Web Vitals the other aspects of page experience do not directly help a site rank higher.

Where An Address Is Seen

On a desktop search result, Google shows the address in two parts: the domain, then a breadcrumb. The Starter Guide says Google learns breadcrumbs automatically from the words in the URL. On a phone, since January 2025 the result shows the domain only. So fewer searchers read the words in a path than once did. They are still read by anybody who is sent the link on WhatsApp, sees it on a flyer or types it from memory.

One Page, One Address

The same page can usually be opened at several addresses: with and without www, on http and on https, in capital letters, with a tracking code on the end. Google calls the work of choosing one of them canonicalisation. Its page on the subject lists the usual causes, among them the http and https versions of a site, the sorting and filtering of a category page, and a demo copy of the site left open by accident.

Google does not punish this. The Starter Guide says of the so-called duplicate content penalty that content reachable at several URLs is inefficient, and is not something that will cause a manual action. The costs are practical. Google picks the address to show, and it may not be the one on your flyers. And, as the same page on canonicalisation puts it, several addresses make it harder to track how the content performs.

The cure is to pick one form and use it everywhere. A redirect and a rel="canonical" tag are the strong signals Google reads, and a sitemap entry is a weak one. It also asks you to link, within your own site, to the address you consider the main one. So the menu, the sitemap and the canonical tag should name the same address, letter for letter. The test is check 3 in our guide to doing an SEO audit.

Campaign links are the common leak. An address with a tracking code on the end, such as ?utm_source=facebook, is a second address for the same page. That is fine in an advert. It does not belong in your own menus and articles: Google's advice for stores is to avoid linking internally to temporary parameters such as tracking codes and session IDs.

Two different pages that answer the same search are another matter, which is the subject of our guide to keyword cannibalisation.

Addresses On A Site In More Than One Language

Google recommends a different address for each language version of a page, in place of one address that switches language by cookie or browser setting. A folder for each language, such as /ms/ and /zh/, is the common way to do it.

Two details are easy to get wrong. The folder name does not tell Google the language: it says it works out the language from the visible content of the page, and not from the URL. And the words in the path may be in that language too, since Google says localised words in a URL are fine.

Before You Change An Address

An address that already brings visitors is an asset, however untidy it looks. Google's advice for stores is to use long-term, persistent URLs. Since keywords in a path have hardly any effect, tidying an address is rarely worth what it puts at risk. Change one when the page has really moved, when two pages are being merged, or when the old address misleads.

When you do change one, four facts from Google keep you safe.

  • Use a permanent redirect. Google's page on redirects says a permanent redirect, such as a 301, tells it to show the new address in results. A temporary one keeps the old address there.
  • The links you earned are not lost. Google's guide to moving a site says 301 and other permanent redirects do not cause a loss in PageRank. You may have read that every redirect leaks a share of a page's strength. That is not what Google says.
  • Redirect to the right page, in one step. The same guide says not to send many old addresses to one irrelevant page such as the home page, which may be treated as an error. It also says to avoid chains, by pointing each old address straight at its final destination.
  • Keep the redirect. Google says to keep redirects for as long as possible, generally at least a year, and to update your own links so that they point at the new addresses.

The order of work when a whole site is changing shape is in the guide to website structure linked above.

How To Check Your Own Addresses

  • Type the four versions of your home page address: http and https, each with and without www. All four should end at one address.
  • Read three service page addresses aloud. Would a customer understand them over the phone?
  • Inspect an important page in Search Console. The URL Inspection tool shows the Google-selected canonical, the address Google chose when it found similar pages on your site. If it is not the one you expected, Google's advice is to consider declaring a canonical version.

When It Is Worth Getting Help

Addresses are decided once, when a site is built, and broken most often when it is rebuilt. That is why they are fixed on paper first in our website design service. For a live site, an SEO audit of your website finds the duplicate addresses and the redirects that lead nowhere, and our SEO service covers the work that follows.

Two things to know before you call. SEO starts from RM8,960 a month, and every price is listed in ringgit. And we are a Singapore company: Singapore is where our own rankings and our client results were earned.

On SEO, the offer on this site is Guaranteed SEO Growth On Last Year, Or We Keep Working Free: page-1 keywords or organic clicks, counted in your own Search Console, growing at least 10% by month 3, 30% by month 6 and 60% by month 12 against the same months last year. It has conditions, and they are set out on our guaranteed SEO page. To go through them for your own site, book a free 30-minute call. If a rebuild is planned, book before the addresses change, not after.

Questions Malaysian Owners Ask About URLs

Will changing my URLs improve my ranking?

Rarely. Google says keywords in a URL path alone have hardly any effect, and every change of address has to be redirected and recrawled. Leave working addresses alone, and write good ones for new pages.

Should my addresses be in English or Bahasa Malaysia?

In the language of the page. Google's guidance is to use words in your audience's language, and it works out a page's language from its content, not from its address.

Do I need the www?

Either form works. Pick one and redirect the other to it. Google's page on redirects gives this very case: where a home page can be reached at several addresses, choose one as the preferred address and redirect the rest.

Is Best Marketing a Malaysian company?

No. Best Marketing is a Singapore company, registered in Singapore. We work with you over Zoom, and the prices on this site are in ringgit.

Jim Ng

Founder & CEO, Best Marketing

Jim Ng is the founder of Best Marketing, a Singapore digital marketing agency. With over 7 years of experience in SEO, SEM, and growth marketing, Jim has personally overseen campaigns that generated RM163M+ in tracked client revenue for 200+ South East Asian (SEA) businesses across 43+ industries. He is a certified Google Partner, has been featured on CNA, MoneyFM 89.3, and Yahoo Finance, and still personally reviews strategy for every new client. Jim started Best Marketing in 2019 with nothing but 70 cold calls a day and a belief that agencies should be judged by one thing only: whether they make their clients money.

Ready to Turn These Insights Into Revenue for Your Business?

Book a free call and we will show you exactly how to apply these strategies to grow your business.