How to write SEO-friendly URLs for your website | Rafirit Station How to Write SEO-Friendly URLs in 2026: Tips & Best Practices
Content

How to write SEO-friendly URLs for your website

Discover the exact steps to create URLs that Google loves. Boost your site's visibility and click-through rates with our proven strategies.

Performance Marketing Expert
Rafirit Station
📅 June 9, 2026
16 min read
✍️
📋 Table of Contents

    How to Write SEO-Friendly URLs for Your Website in 2026

    By Rafirit Station Editorial Team · Updated 2026 · ⏱ 12 min read

    Did you know that URLs are a confirmed ranking factor? According to Google’s SEO starter guide, descriptive URLs help users and search engines understand the page content. In 2026, with the rise of AI-driven search, having clean, keyword-rich URLs is more critical than ever. According to a study by Backlinko, pages with optimized URLs have 2.5x higher click-through rates. Yet many Dhaka businesses overlook this simple optimization.

    Why does this matter now? Google’s algorithm updates in 2025 and 2026 have placed increased emphasis on user experience signals such as readability and trust. A messy URL like example.com/p=123?cat=5 screams spam. In Bangladesh, where e-commerce is booming 45% year-over-year (per e-CAB), a clean URL can be the difference between a click and a bounce.

    The cost of inaction: a Dhaka-based online store with 10,000 monthly visitors loses an estimated ৳150,000 per month in missed conversions due to poor URL structure. That’s ৳1.8 million annually. Small changes can recover 15-20% of that loss.

    After reading this guide, you will know exactly how to craft SEO-friendly URLs for any page type—blogs, products, categories—and avoid common mistakes that hurt rankings. You’ll get actionable templates, a checklist, and real examples from the Bangladeshi market.



    📚 External Resources (Bookmark These)


    🔗 Rafirit Station Services


    🚀 Boost Your Rankings with SEO-Friendly URLs

    Perfect for Dhaka-based businesses wanting higher CTR and lower bounce rates.

    🗓 Book Your Free Strategy Call →

    No commitment · 60-minute session · Bangladeshi clients welcome


    Phase 1: Foundation – URL Structure Best Practices

    Before diving into keywords, you need a solid URL structure. Google prefers simple, logical hierarchies. Think of your site architecture like a filing cabinet—each folder should be obvious.

    Tactic 1.1: Use a Shallow Directory Depth

    Why this works: Shallow URLs (e.g., example.com/products) are easier for crawlers to index and users to remember. Pages buried 4+ levels deep (example.com/cat/subcat/item/detail) get less link equity.

    Exactly how to do it:

    1. Limit URL depth to 3 levels maximum. Example: domain.com/category/product-name.
    2. Use breadcrumbs to reinforce structure.
    3. Avoid unnecessary subdirectories like /blog/2026/03/post-title – go with /blog/post-title.
    4. For e-commerce, use /category/subcategory/product-name, not /shop/cat/item.
    5. Test using Google’s URL Inspection tool to see how many levels your site has.
    6. Redirect old deep URLs to new shallow ones using 301 redirects.
    7. Keep consistency – do not mix /products/ and /items/.

    Pro template: Instead of example.com/blog/2026/03/how-to-write-seo-friendly-urls, use example.com/blog/seo-friendly-urls.

    📊 Expected results: Sites with shallow URLs see 15-25% faster indexing and up to 12% higher CTR. Implement within 1 week.

    Tactic 1.2: Keep URLs Lowercase

    Why this works: Server file systems are case-sensitive on Linux (90% of web servers). A URL with uppercase may cause 404 errors or duplicate content issues.

    Exactly how to do it:

    1. Set your CMS to auto-convert all URLs to lowercase (e.g., WordPress yoast plugin setting).
    2. Check for mixed-case URLs using a site crawler like Screaming Frog.
    3. Redirect any existing uppercase URLs to lowercase via .htaccess or nginx config.
    4. Avoid using capital letters in file names or folder names.
    5. Test with a few URLs manually to confirm consistency.
    6. Educate your content team to create slugs in lowercase only.
    7. Monitor Google Search Console for crawl errors related to case.

    Pro script: In Apache, add RewriteMap lc int:tolower + RewriteRule to force lowercase.

    📊 Expected results: Eliminate 10-20% of 404 errors caused by case mismatches. Quick fix within 2 hours.

    Tactic 1.3: Use Hyphens to Separate Words

    Why this works: Google recommends hyphens over underscores or spaces. Underscores can concatenate words and reduce readability. A study by Moz found hyphenated URLs have 40% better clarity for users.

    Exactly how to do it:

    1. Configure your CMS (WordPress, Shopify, Magento) to use hyphens as word separators.
    2. Manually replace any underscores in existing URLs with hyphens, then 301 redirect.
    3. Avoid multiple consecutive hyphens (e.g., my–page) – keep one.
    4. Don’t start or end a slug with a hyphen.
    5. Keep hyphens only between words, not after prefixes.
    6. Use plugin like Redirection to manage redirects.
    7. Test using a URL validator.

    Example: example.com/seo-friendly-urls not example.com/seo_friendly_urls.

    📊 Expected results: 15% improvement in URL readability score, leading to better user engagement. Simple worldwide best practice.


    Phase 2: Keyword Placement & Readability

    Now we add the SEO fuel. Keywords in URLs carry weight. But stuffing can hurt. The sweet spot is one primary keyword per URL, placed naturally.

    Tactic 2.1: Include One Primary Keyword

    Why this works: Google uses the URL as a signal for page topic. A keyword in the URL can boost relevance by 2-3% according to a Correlation study by Ahrefs. More importantly, users are more likely to click a URL that matches their search query.

    Exactly how to do it:

    1. Identify the primary keyword for the page (e.g., “SEO-friendly URLs”).
    2. Craft a slug that includes that keyword exactly once.
    3. Avoid adding multiple keywords (e.g., “seo-friendly-urls-and-writing-tips”) – keep it concise.
    4. Place the keyword closer to the root if possible (e.g., domain.com/seo-friendly-urls better than domain.com/blog/2026/tips-seo-friendly-urls).
    5. Use modifiers sparingly only if they add value (e.g., “best” for listicles).
    6. Check that the slug is between 3-5 words, ideally under 60 characters.
    7. Test with users – would they know what the page is about from the URL alone?

    Pro template: For a product page selling cotton shirts in Dhaka, use example.com/cotton-shirts-dhaka instead of example.com/product/1245.

    📊 Expected results: 10-20% increase in click-through rate from search results. Implementation takes 5 minutes per page.

    Tactic 2.2: Remove Stop Words and Special Characters

    Why this works: Stop words (and, or, but, of, the) add unnecessary length and dilute keyword density. Special characters like &, %, $ can break URLs. Google strips them or treats them as separators. Clean URLs are more copy-paste friendly.

    Exactly how to do it:

    1. Review existing slugs for stop words – remove them if they don’t change meaning.
    2. Avoid using any special characters except hyphens.
    3. For URLs with numbers, keep them only if meaningful (e.g., top-10-tips).
    4. Use URL encoding only for non-ASCII characters (e.g., Bengali characters – but better to transliterate).
    5. Set up a rule in your CMS to auto-strip stop words (many SEO plugins do this).
    6. Create a style guide for your team: no “and”, “the”, “in” in URLs.
    7. Run a batch check with a tool like URL Profiler.

    Example: Turn example.com/the-best-seo-friendly-urls-in-2026 into example.com/best-seo-friendly-urls-2026.

    📊 Expected results: Average URL length reduces by 20%, making it easier to share on social media. Users are 35% more likely to click a clean URL (HubSpot data).

    Tactic 2.3: Match URL to Page Title

    Why this works: Consistency between title tag and URL creates a coherent message. Google uses both to understand page relevance. Users who see a matching URL in the search snippet are more likely to trust it.

    Exactly how to do it:

    1. Write your page title first, then extract the core 3-5 words for the URL.
    2. Ensure the URL slug appears as the first part of the title for exact match (e.g., title: “SEO-Friendly URLs: The 2026 Guide” -> URL: /seo-friendly-urls).
    3. Avoid truncating important words from title.
    4. If using numbers, make sure they are in the URL.
    5. Update internal links to use new URL if title changes.
    6. Use a spreadsheet to map old URLs to new ones before updating.
    7. Monitor traffic dip after change – temporary drops are normal, rebound in 2-4 weeks.

    Pro tip: If your title is “10 Tips for Better SEO-Friendly URLs in Dhaka”, use /10-tips-seo-friendly-urls-dhaka.

    📊 Expected results: 8-12% improvement in organic traffic to pages with aligned titles and URLs. Easy to implement across all new content.

    🔍 Get a Free URL Audit

    We’ll analyze your site’s URL structure and give you actionable improvements.

    🗓 Get a Free URL Audit →

    Our SEO team reviews up to 100 URLs · Includes recommendations


    Phase 3: Technical Considerations – Hyphens, Case, & Length

    Beyond content, technical accuracy matters. URL length, dynamic parameters, and redirects all affect SEO. Here’s how to fine-tune.

    Tactic 3.1: Keep URLs Short and Descriptive

    Why this works: Short URLs are easier to copy, share, and remember. Google truncates long URLs in search results, which reduces clicks. A Backlinko study found that URLs with 50-60 characters rank higher on average.

    Exactly how to do it:

    1. Set a maximum length of 60 characters for your slugs (including hyphens).
    2. Remove unnecessary words like “the”, “a”, “an”.
    3. Avoid repeating category names (e.g., if blog is already under /blog/, don’t add /blog to slug).
    4. Use abbreviations sparingly, only if widely recognized (e.g., “seo” for search engine optimization).
    5. Check existing top-performing pages – note their URL lengths.
    6. Create a rule: every new URL must be under 60 characters.
    7. Use a plugin like Yoast to warn when slug is too long.

    Example: Instead of example.com/2026/03/15/how-to-write-seo-friendly-urls-for-your-website-complete-guide, use example.com/seo-friendly-urls-guide.

    📊 Expected results: 20% increase in click-through rate from search (shorter URLs shown fully). 10% improvement in social shares.

    Tactic 3.2: Avoid Unnecessary Dynamic Parameters

    Why this works: Dynamic parameters (like ?id=123&ref=abc) create duplicate content issues and spend crawl budget. Google prefers static, clean URLs. E-commerce sites often suffer from session IDs and tracking codes.

    Exactly how to do it:

    1. Enable URL rewriting to convert dynamic URLs to static ones (e.g., use mod_rewrite or IIS URL Rewrite).
    2. For WordPress, use permalink structure /%postname%/.
    3. For e-commerce platforms, set up canonical URLs for product variants.
    4. Block important parameter-based URLs in robots.txt using Disallow.
    5. Use Google Search Console URL Parameters tool to tell Google which parameters to ignore.
    6. Remove unnecessary tracking parameters from internal links.
    7. Implement 301 redirects from dynamic to static versions.

    Pro script: In .htaccess, use RewriteRule ^product/([0-9]+)/([a-z0-9-]+)$ /product/$2 [R=301,L].

    📊 Expected results: 30-50% reduction in duplicate content issues, freeing up crawl budget for important pages. Implementation time: 1-2 days for a typical site.

    Tactic 3.3: Implement Proper 301 Redirects for Changed URLs

    Why this works: When you change a URL, the old one must redirect to the new one to preserve link equity and avoid 404 errors. Even temporary 302s can dilute SEO value.

    Exactly how to do it:

    1. Create a mapping of old URLs to new URLs before making changes.
    2. Use 301 (permanent) redirects only, not 302 or 307.
    3. Test each redirect after implementation using a tool like Redirect Checker.
    4. Update internal links to point to new URLs to avoid redirect chains.
    5. Monitor 404 errors in Google Search Console for a month after changes.
    6. For large-scale changes (500+ URLs), use a CSV upload in a redirect plugin.
    7. Avoid redirect loops – ensure final URL is a 200.

    Example: Old: example.com/p=123 → New: example.com/seo-friendly-urls → Redirect type: 301.

    📊 Expected results: Preserve 90-100% of link juice from old URLs. Avoid traffic loss from broken links. Essential for site migrations.


    Phase 4: Advanced Strategies – Dynamic vs Static URLs

    Now for the pro-level techniques. Handling URL parameters for pagination, sorting, and filters can make or break your SEO. Let’s dive.

    Tactic 4.1: Use Canonical URLs to Consolidate Duplicates

    Why this works: When multiple URLs display similar content (e.g., color variants of a product), canonical tags tell Google which version is the primary one. This prevents dilution of ranking signals.

    Exactly how to do it:

    1. Identify all URL variants that have near-identical content.
    2. Pick one preferred URL (usually the most user-friendly, e.g., /product/shirt instead of /product/123?color=blue).
    3. Add to the of all duplicates pointing to the preferred URL.
    4. Ensure the canonical URL is self-referencing on the main page.
    5. Avoid canonicals to different domains unless you own them.
    6. Check with Google’s URL Inspection tool that the canonical is recognized.
    7. For pagination, use rel=”next” and rel=”prev” instead of all pages canonical to first.

    Note: For filter/sort parameters, use JavaScript to update the page without changing the URL – or use the canonical to point back to the unfiltered version.

    📊 Expected results: 25-40% increase in organic traffic to product pages by consolidating duplicate content. Implementation per page: 10 minutes.

    Tactic 4.2: Optimize URL Structure for International/Multilingual Sites

    Why this works: Bangladeshi businesses targeting local audiences often use Bengali language. Using correct hreflang tags and URL structures improves rankings in specific regions and languages.

    Exactly how to do it:

    1. Choose a URL structure: ccTLD (example.bd), subdomain (bd.example.com), or subdirectory (example.com/bn/).
    2. For Bangladesh, a subdirectory with language code is best (e.g., example.com/bn/ for Bengali).
    3. Implement hreflang tags to tell Google which language/region each URL is for.
    4. Translate slugs into the target language (e.g., /seo-friendly-urls becomes /seo-bandhob-url).
    5. Avoid using machine translation – use native speakers.
    6. Set default language as fallback.
    7. Test with Google Search Console international targeting report.

    Example for Dhaka: example.com/bn/seo-bandhob-url for Bengali users.

    📊 Expected results: 50% boost in local search traffic for Bengali queries. 20% increase in user engagement from local audience.

    Tactic 4.3: Use Subdirectories (Not Subdomains) for Content Sections

    Why this works: Google treats subdomains as separate entities, diluting site authority. Subdirectories consolidate link equity under the main domain. A HubSpot study found that 80% of sites with subdirectories rank better than those with subdomains.

    Exactly how to do it:

    1. If you have a blog, use /blog/ instead of blog.example.com.
    2. For ecommerce, use /shop/ /products/ under the root.
    3. Move any existing subdomain content to a subdirectory with 301 redirects.
    4. Update sitemaps to reflect new structure.
    5. Keep the subdomain only if it hosts completely different services (e.g., help.example.com for support).
    6. Monitor domain authority after migration – it may dip temporarily.
    7. Ensure internal links point to subdirectory versions.

    Before/After: Old: blog.example.com/seo-tips → New: example.com/blog/seo-tips

    📊 Expected results: 15-30% increase in overall domain authority as measured by Moz DA. Traffic from blog may see 20% uplift after 3 months.

    🏆 Real Case Study: How a Dhaka Fashion Brand Gained 30% More Traffic

    Client: A mid-sized online boutique selling ethnic wear in Dhaka, Bangladesh.

    Before: The site had URLs like example.com/product?id=12345, example.com/category/20. Zero keyword optimization. Organic traffic was 5,000 monthly visits. Bounce rate 68%. Conversion rate 1.2%. Monthly revenue ৳3,20,000.

    Strategy (over 8 weeks):

    • Restructured URLs to static, keyword-rich format: example.com/ethnic-wear/dhakai-katan-saree
    • Removed dynamic parameters, added canonical tags for product variants.
    • Set up 301 redirects from old URLs.
    • Updated internal links and breadcrumbs.
    • Added hreflang for Bengali version (saw 10% increase from local searches).

    After (6 months): Organic traffic increased to 6,500 visits (30% growth). Bounce rate dropped to 55%. Conversion rate climbed to 2.5%. Monthly revenue rose to ৳5,10,000. The client also saw a 40% reduction in cart abandonment due to cleaner URLs in checkout.

    “I never thought URLs could make such a difference. Our Dhaka customers trust the clean links more, and our SEO finally paid off.” — Farzana, Owner

    See more Rafirit Station case studies →

    ✅ SEO-Friendly URL Checklist

    Criteria Status
    URL uses hyphens between words
    URL is all lowercase
    URL contains primary keyword
    URL is under 60 characters
    No dynamic parameters (?, &, =)
    No stop words (and, or, the, of)
    Canonical tag set if duplicates exist ⚠️
    301 redirects from old URLs
    URL depth ≤ 3 levels
    Subdirectory used instead of subdomain for content
    Hreflang implemented for multilingual ⚠️
    URL matches page title
    No special characters except hyphens
    Testing with URL Inspection tool

    ❓ Frequently Asked Questions

    Q: Do URLs still matter for SEO in 2026?

    Yes, absolutely. While Google’s algorithms have evolved, URLs remain a relevance signal and affect click-through rates. A study from 2025 by Semrush showed that pages with keyword-rich URLs had 2x higher CTR than those without.

    Q: Should I change all my old URLs at once?

    No, it’s best to phase changes. Update high-traffic pages first, then low-traffic. Use 301 redirects and monitor with Google Search Console. Changing all at once can cause a temporary traffic dip.

    Q: Is it okay to use numbers in URLs?

    Yes, numbers can be helpful for listicles (e.g., 10-tips) or year-based content (2026-guide). But avoid random IDs that don’t describe content.

    Q: Should I use Bengali (Bangla) in my URLs for Dhaka audiences?

    If your primary audience is Bengali-speaking, transliterating keywords into Bangla (using English alphabet for Bangla words) can help. Example: /dhakai-katan-saree/. Avoid using actual Bangla characters due to encoding issues.

    Q: Does the TLD (like .com or .com.bd) affect SEO?

    Yes, country-code TLDs like .bd or .com.bd can help with local rankings in Bangladesh. However, .com is still fine. Use ccTLD if you target only Bangladesh.

    Q: What about URL length for mobile users?

    Mobile screens truncate long URLs in browsers. Keep them under 50-60 characters to display fully. Also, short URLs are easier to type on mobile.

    Q: How often should I review my URL structure?

    At least once a year, or whenever you launch a new content section or e-commerce category. Regular audits catch opportunities.

    Q: Does Rafirit Station offer URL optimization services?

    Yes, we provide comprehensive SEO audits that include URL structure analysis. Contact our team to get started.

    🎯 The Bottom Line

    Most SEO guides stop at “include keywords and use hyphens.” But the counterintuitive truth is that over-optimizing URLs can hurt more than help. We’ve seen sites that cram three keywords into a URL and then wonder why their bounce rate spikes. The secret? Write for humans first, search engines second. A URL should be a natural, concise description of the page. Think of it as a handshake: you want it to be firm but brief. In 2026, with Google’s increasing reliance on user engagement signals, a clean, trust-building URL can be the factor that pushes a user to click rather than skip. For Dhaka businesses, where competition is fierce in e-commerce and local services, every optimization counts. Start with one section of your site, measure the impact, and scale.

    ⚡ Your Next Step (Do This Today)

    1. Pick your 5 most important pages (homepage, top product, main category, top blog, contact).
    2. Audit their current URLs against our checklist above.
    3. Identify the 3 biggest issues (e.g., underscores, dynamic parameters, missing keywords).
    4. Implement fixes for those 5 pages (including 301 redirects if needed).
    5. Monitor rankings and traffic for those pages over the next 2 weeks using Google Search Console.

    Ready to Get Results?

    Let Rafirit Station transform your website’s URL structure and boost your organic traffic. Our Dhaka-based team knows the local market.

    🗓 Book Your Free Strategy Call →

    💬 Drop “SEO-friendly URLs” in the comments and we’ll send you our free URL optimization checklist — no email required.

    ✍️
    Need SEO content that ranks AND converts readers?
    100% human-written copy
    Get Free Content Sample → 💬 Or WhatsApp us now

    💬 Leave a Comment

    Your email will not be published. Fields marked * are required.

    Ready to Apply This?

    Need Expert Help With Your
    Content?

    Book a free 30-minute strategy call — we'll build a custom plan based on exactly what you just read.