Skip to the content

Contact usFree tools · No signup · Files stay on your device

Text Tools

How to write SEO-friendly URLs: slug best practices

How to write SEO-friendly URLs: slug best practices

An SEO-friendly URL is short, readable and describes the page: example.com/blog/check-ssc-result-online tells a visitor and a search engine what to expect before the page even opens, while example.com/p?id=48213&ref=x tells them nothing. The text at the end of the address is called the slug, and our free Slug Generator builds a clean one from any title in a second.

This post gives the rules that matter, shows them on real Bangladeshi page titles, and explains how to handle two awkward cases: Bangla titles and pages that are already live.

What a good slug looks like

A good slug has these qualities:

  • It describes the page in plain words. land-measurement-bangladesh is clear; post-12 is not.
  • It is short. Three to six words is a good target. Long sentences in an address get cut in search results and are awkward to share.
  • It is lower case. Web servers can treat /Blog and /blog as different addresses, so keeping everything in lower case avoids duplicates.
  • It uses hyphens between words. Google's documentation recommends hyphens, and an underscore can make two words read as one.
  • It contains only letters, numbers and hyphens. Spaces become %20, and other symbols can break links or be misread.
  • It has no filler. Words like "the", "a", "of" and "how to" often add length without adding meaning.

None of these is a trick for ranking. A clear address is for people first: they read it in search results, in a shared message and in the browser bar.

Step by step: from title to slug

Take the title "How to Check SSC Result 2026 Online (Education Board Website)".

  1. Open the Slug Generator and paste the title into "Page or post title".
  2. With the default settings you get how-to-check-ssc-result-2026-online-education-board-website. Accents, brackets and capitals are gone, but it is 59 characters long.
  3. Tick "Remove English stop words (a, the, of…)". It becomes how-check-ssc-result-2026-online-education-board-website: "to" is removed, but "how" stays, because the tool only drops articles, conjunctions and a few small prepositions.
  4. Set Max length to 40 if you want it shorter: the tool cuts at a word boundary and gives how-check-ssc-result-2026-online.
  5. Read it once more. Does it still describe the page? If so, copy it with the Copy button next to the slug.
  6. Type your site's address into "Base URL (optional)", for example https://example.com/blog/, and the Full URL line shows exactly what the page's address will be.

The same steps work for a whole site: Bulk mode takes one title per line, can add -2, -3 to duplicates and downloads a CSV with the title and slug side by side.

Keep the words that carry meaning

The stop-word option is useful, but it is still blunt. It has its own short list: articles, conjunctions and a few small prepositions (a, an, the, and, or, but, nor, of, to, in, on, at, by, for). Words such as "under", "how", "what", "is" and "not" are kept on purpose, because they often change the meaning. Even so, a word you would drop by hand may stay, and one you want may go, so look at what happens to a title:

Title Slug with stop words removed
Best Mobile Phones Under 20000 Taka in Bangladesh best-mobile-phones-under-20000-taka-bangladesh

"Under" is kept, so the slug still says phones below 20000 taka; only "in" was removed. A list that removed "under" would suggest a different page (phones at 20000 taka, not below it), which is why this tool leaves it in. If a slug reads badly, turn the option off and shorten the title in another way, or edit the slug by hand: best-phones-under-20000-taka.

Read the result of any automatic shortening before you publish. The tool never empties a title completely, but it cannot know which word is important to you.

Numbers, dates and years

Years and numbers are fine when the page is about them: eid-ul-fitr-2027-date or 10-ways-to-save-electricity. For a page that you plan to update every year, think about whether the year should be in the address at all. If you remove it later, you have to redirect the old address. If you keep it and update the content, the address looks old.

Write numbers in the title without commas. The comma is not kept, and it splits the number: "20,000" becomes 20-000. Write 20000 before generating, or edit the slug.

Also write "Tk" or "taka" in place of the ৳ sign. The generator drops the sign, so the amount would lose its unit.

Bangla titles

The Slug Generator has two ways to handle Bangla, and each has a cost.

Write an English slug. Change the Bangla title to a short English description of the page, such as dhaka-travel-guide, and generate it from that. The address is short, meaningful to English readers and works anywhere. If you paste a Bangla title into the generator with default settings, the tool writes the Bangla in English letters (ঢাকা ভ্রমণ গাইড becomes dhaka-bhromon-gaid), so the slug is never empty. That spelling is a simple, readable one, not a translation, so it is worth editing by hand into the English words people actually search for.

Keep Bangla letters. Tick "Keep Unicode letters (Bangla, Arabic, Chinese…)" and the title ঢাকা ভ্রমণ গাইড becomes ঢাকা-ভ্রমণ-গাইড. Modern browsers display it and Google indexes such addresses, but when it is copied or shared, the browser sends it in percent-encoded form, a long string starting %E0%A6%A2. The Slug panel shows that form on a separate line, so you can see how long the shared link will be. You can see the same conversion for any text in the URL Encoder. Make sure your CMS and server accept non-English characters in addresses before you rely on this.

Which is better depends on your audience. For a Bangla-only site where people search in Bangla, a Bangla slug is natural. For a mixed audience or links shared on messaging apps, a short English slug is easier to handle. Either way, be consistent across the site.

Never change a live URL casually

Once a page is published and linked, its address is part of its identity. Changing it breaks every old link and bookmark, and search engines have to learn the page again. If you must change a slug, add a 301 redirect from the old address to the new one, so visitors and search engines follow it automatically. The redirect is a setting in your CMS, a plugin or your server configuration.

A better habit is to settle the slug before you publish: generate it, read it, check it, and then publish.

Mistakes to avoid

  • Using the whole title as the slug, including filler and punctuation.
  • Leaving a trailing filler word after cutting by length, such as a slug that ends in -in or -to. The Max length setting cuts at word boundaries, but it does not know which word is a filler.
  • Mixing hyphens and underscores in one site.
  • Keeping capital letters in some addresses and not others.
  • Reusing the same slug for two pages, which is why Bulk mode's "Make duplicates unique" option exists.
  • Stuffing the slug with every keyword you can think of. Three to six clear words are enough.

Quick checklist

  • Describe the page in three to six lower-case words.
  • Use hyphens, with no spaces or symbols.
  • Remove filler only when the meaning survives.
  • Write numbers without commas and use Tk for money.
  • Decide on a Bangla or English slug and stay consistent.
  • Add a 301 redirect whenever you change a live address.

For every option on the page, including the percent-encoded preview and the CSV download, read the Slug Generator guide.

Frequently asked questions

What is an SEO-friendly URL?
One that is short, readable and describes the page, such as example.com/blog/check-ssc-result-online. It uses lower-case words joined by hyphens, with no spaces, symbols or random numbers, so both people and search engines can tell what the page is about.
Should I use hyphens or underscores in a URL?
Use hyphens. Google's own guidance recommends hyphens to separate words in URLs. Underscores can make two words read as one.
How long should a URL slug be?
Aim for three to six meaningful words. There is no fixed limit, but short addresses are easier to read, share and remember, and they are less likely to be cut off in a search result.
Should I remove words like "the" and "how to" from a slug?
Often yes, when the slug still makes sense without them. Keep a word if removing it changes the meaning: "under" in "phones under 20000 taka" matters.
Can I change the URL of a page that is already published?
You can, but treat it as a move. The old address must send visitors and search engines to the new one with a 301 redirect, otherwise links to the old address break and you lose the page's standing.
Found this useful? Share it

Tools in this guide

Main tool

Slug Generator

Convert any title into a short, readable URL slug — accents removed, symbols cleaned up and words joined with hyphens.

Open tool

URL Encoder

Make any text safe to put in a URL.

Open tool

Back to all guides & blog