SEO-Friendly URLs: 12 Rules, Examples and Safe URL Changes
What Google actually says about URL structure, 12 rules with Indian examples, and the safe way to change a URL without losing rankings.

What Google actually says about URL structure, 12 rules with Indian examples, and the safe way to change a URL without losing rankings.

01Google’s URL structure guidance asks for readable words, hyphens instead of underscores, one letter case and no needless parameters.
02Google’s SEO Starter Guide says keywords in a URL path alone have hardly any effect on rankings, so SEO-friendly URLs mainly help users and crawling.
03Google treats /page and /page/, and /Page and /page, as separate URLs, so pick one format and 301 redirect the other.
04Hindi and regional language URLs are allowed by Google, provided non-ASCII characters are percent-encoded in link markup.
SEO-friendly URLs are short, readable web addresses built from lowercase words separated by hyphens, so a person can guess what the page is about before clicking. Google’s own documentation asks for exactly that, and it also says the words in a URL have very little direct effect on rankings.
So the real job is not stuffing keywords into slugs. It is building a clean, stable URL structure that Google can crawl without waste, and changing it only with proper 301 redirects. This guide gives you the 12 rules, good vs bad examples, the WordPress settings and the safe way to change URLs.
An SEO-friendly URL is a web address that uses descriptive words your audience understands, separates them with hyphens, stays in one letter case, avoids needless parameters and does not change once published. It helps users judge a result in Google, helps Googlebot crawl efficiently, and keeps your link signals in one place.
Compare example.in/sarees/banarasi-silk/ with example.in/index.php?id=48213&sid=789. The first tells a shopper and a crawler what to expect. The second tells them nothing and invites duplicate copies of the same page.
URL optimization sits inside technical SEO. If you are still building the basics, start with our complete SEO guide for beginners and marketers and come back here.
Google Search Central’s URL structure page says to use simple, descriptive words rather than long ID numbers, separate words with hyphens instead of underscores, use the language your audience searches in, percent-encode non-ASCII characters in links, and remove parameters that do not change the content. It also warns that URL case matters.
A few more points from Google’s documentation are worth knowing before you touch a single slug:
/#/potatoes for changing content. Use the History API for JavaScript sites.= for key and value, & between parameters, and a comma for several values of one key.These 12 rules combine Google’s documented guidance with what we see on Indian business sites every week. The examples use Indian e-commerce and service sites, but the logic is universal. Fix the ones that cost you crawl budget or duplicate pages first. Cosmetic ones can wait for a redesign.
| Rule | Good | Bad |
|---|---|---|
| 1. Use readable words, not IDs | /sarees/banarasi-silk/ | /index.php?id=48213 |
| 2. Separate words with hyphens | /summer-kurtis/ | /summer_kurtis/ or /summerkurtis/ |
| 3. Keep everything lowercase | /seo-friendly-urls/ | /SEO-Friendly-URLs/ |
| 4. Use your buyer’s words | /mobile-covers/ | /handset-protective-accessories/ |
| 5. Cut filler and stop words | /blog/gst-registration-steps/ | /blog/a-complete-guide-on-how-you-can-do-gst-registration/ |
| 6. Keep years out of evergreen slugs | /blog/diwali-sale-ideas/ | /2026/10/24/diwali-sale-ideas-2026/ |
| 7. Group related pages in folders | /services/seo/ | /page-17/ |
| 8. Drop parameters that change nothing | /shoes/running/ | /shoes/running/?sessionid=ab12&ref=wa |
| 9. Use standard parameter syntax | ?color=purple,pink&sort=low-to-high | ?[color:purple] |
| 10. Never use fragments for content | /products/potatoes/ | /#/potatoes |
| 11. Pick one trailing slash format | /blog/seo/ only | /blog/seo and /blog/seo/ both live |
| 12. Percent-encode non-ASCII in links | /sarees/%E0%A4%B8%E0%A4%BE%E0%A4%A1%E0%A4%BC%E0%A5%80/ | Raw Devanagari typed into the href |
Rules 1, 2, 3, 8, 9, 10 and 12 come straight from Google’s URL structure page. Rule 7 comes from the SEO Starter Guide, which says grouping pages in directories helps Google learn how often each section changes on sites with more than a few thousand URLs. Rule 11 comes from Google’s trailing slash post. Rules 4, 5 and 6 are PingTalks practice.
Pro tip: Rule 4 is where keyword research pays off in slugs. Check what your buyers actually type, Hinglish included, with the methods in our keyword research guide, then name the folder after that phrase.

In WordPress, go to Settings, then Permalinks, choose the Post name structure, which produces addresses like example.com/sample-post/, and click Save Changes. Then edit each post’s slug in the editor to a short, hyphenated phrase. Avoid Plain, which creates ?p=123, and avoid Numeric for anything you want found.
WordPress.org documentation lists six permalink options on that screen:
| Option | Example format | PingTalks view |
|---|---|---|
| Plain | /?p=123 | Avoid. No words at all. |
| Day and name | /2008/03/31/sample-post/ | Only for pure news sites. |
| Month and name | /2008/03/sample-post/ | Dates the content forever. |
| Numeric | /archives/123 | Avoid. |
| Post name | /sample-post/ | Best default for most sites. |
| Custom structure | Built from tags such as %postname% | Use for a category folder, if you must. |
The same screen has optional Category base and Tag base fields. Leave them blank to keep WordPress defaults, or set a prefix such as /topics/. After saving, WordPress either writes the rewrite rules itself or shows a message asking you to update .htaccess by hand.
Warning: Changing the permalink structure on a live site changes every post URL at once. Treat it as a migration, map old to new URLs and set 301 redirects before you click Save Changes.
Handle parameters by removing any that do not change the content, such as session IDs, referral tags and sort orders, and by controlling faceted filter URLs. If filtered pages do not need to rank, block them in robots.txt. If some filters deserve to rank, use standard & separators, a fixed filter order and 404s for empty combinations.
Faceted navigation is the filter panel on category pages: price, size, colour, brand. Google’s faceted navigation guide, last updated 18 December 2025, says these filters can create an almost endless number of URLs. Crawlers cannot tell a useful filter URL from a useless one until they fetch it, so new pages get found more slowly.
Google’s options, from strongest to weakest for crawl control:
Our take for Indian D2C stores on Shopify or WooCommerce: let one or two high-demand filters rank as clean folders, such as /kurtis/cotton/, and keep the rest out of the crawl. Ad tracking tags like ?gclid= or ?utm_source=whatsapp should never be the version Google indexes, which is why Google’s duplicate URL guide recommends a self-referencing canonical on the clean page.
Yes. Google treats /APPLE and /apple as two different URLs, and it treats /foo and /foo/ as two different URLs too. If both versions return the same page with a 200 status, you create duplicates. Pick one format, use it in internal links and sitemaps, and 301 redirect the other.
Google’s 2010 post “To slash or not to slash” says the root is the exception: example.com and example.com/ are equivalent. For directory-style URLs it calls the trailing slash more conventional, but lets you choose. The rule that matters is consistency.
Case problems usually come from humans, not CMSs. Someone types /Offers/ in a WhatsApp broadcast or a print QR code, and now two versions exist. Force lowercase at the server and redirect anything else. Our internal linking mistakes guide shows how inconsistent links leak signals the same way.

Yes. Google’s URL structure page says to use words in your audience’s language, transliterated where that fits, and shows non-Latin examples such as Japanese. URLs travel in UTF-8, so in your HTML href you should percent-encode non-ASCII characters. Unreserved ASCII characters can stay as they are.
Here is what that looks like for a Hindi saree page. The readable slug is /sarees/साड़ी/. Your link markup should carry /sarees/%E0%A4%B8%E0%A4%BE%E0%A4%A1%E0%A4%BC%E0%A5%80/. Google gives the same treatment to accented Latin letters and even emoji.
Should you do it? Our rule of thumb:
/kurti-design/ when buyers search in Hinglish, which is common in Indian fashion and food searches.One practical downside: encoded URLs look long and messy when copied into WhatsApp, email or a spreadsheet. If your traffic depends on shared links, transliteration is often the cleaner choice. For multi-regional sites, Google recommends a country domain such as example.de or a subfolder such as example.com/de/.
To change URLs safely, map every old URL to its new one, add server-side 301 or 308 redirects straight to the final page, update canonicals, internal links and sitemaps, then submit the new sitemap in Google Search Console. Keep the redirects for at least a year, and expect rankings to fluctuate for a few weeks.
Google’s 301 redirect documentation says permanent redirects make the target the canonical URL, while temporary ones such as 302 and 307 can keep the old URL in results. Use permanent redirects when you are sure the change will not be reverted. JavaScript redirects are a last resort because rendering can fail.
Search Console Help adds that Change of Address needs you to own both properties with the same Google account, works only on domain-level properties, and shows a move notice for 180 days. For the wider project plan, read our seven steps for a flawless website migration and our analysis of how much time to allocate for SEO migrations.

There is no official length that Google rewards. Google’s URL structure page sets no word or character limit, and its SEO Starter Guide says keywords in the URL path alone have hardly any ranking effect. Aim for a slug a human can read aloud, usually the core topic in three to five words.
Three URL myths we still hear from Indian clients:
A good URL is boring, short and permanent. The best slug is the one you never have to redirect.
If your pages are not ranking, the URL is rarely the cause. Check content, intent and internal links first with our guide to why your website is not ranking, and run a technical SEO audit to find duplicate URL versions.
Get URL structure right on new pages and leave working old URLs alone. Fix duplicates from parameters, case and trailing slashes, because they waste crawl and split signals. Rename a live URL only when it is broken, misleading or part of a planned migration, and always with a one-hop 301.
/page and /page/ do not both return 200. Redirect the duplicate.A URL change can cause temporary ranking fluctuation, which Google’s site move guide says to expect. With a one-hop 301 redirect, updated internal links and a new sitemap, Google transfers signals to the new URL. Without redirects, you lose the old page’s links and traffic.
Use hyphens. Google’s URL structure documentation recommends hyphens to separate words and lists underscores as not recommended. Joined words with no separator are also not recommended.
For new sites, choose the Post name permalink so evergreen posts do not look outdated. On an established site, removing dates changes every URL, so only do it as a planned migration with 301 redirects for every post.
A 302 is not bad, it is temporary. Google’s redirect documentation says temporary redirects may keep the old URL in search results, so use 301 or 308 for permanent URL changes and 302 or 307 only for short-term moves.
No. Search Console Help says the Change of Address tool is for moving to a new domain or subdomain. Path changes on the same domain, HTTP to HTTPS and www to non-www moves only need redirects and updated sitemaps.
Yes. Google supports URLs in your audience’s language, and they are sent as UTF-8. Write the slug in Devanagari, but percent-encode those characters in your HTML links, as Google’s URL structure page recommends for all non-ASCII text.
What changed in marketing and AI, why it matters and exactly what to do. In your inbox at 11:00 IST.