Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2018
    Posts
    1,139

    How do you separate words in URL?


  2. #2
    Senior Member
    Join Date
    Sep 2021
    Location
    India
    Posts
    464
    Because the hyphen separates words (so that a search engine can index the individual words), and a hyphen is not a word character. Underscore is a word character, meaning it should be considered part of a word.

  3. #3
    Registered User
    Join Date
    Jun 2018
    Posts
    1,404
    Using hyphen (-) makes the url more readable by users. Also it is considered as the word separator instead of space by search engines. For better clarification, you can refer Best practices for Structuring URL . You CAN use CamelCase, periods, or hyphens in your URL.

  4. #4
    Senior Member
    Join Date
    Dec 2021
    Posts
    472
    If you want to create user friendly url Google recommends using hyphens (-) instead of underscores (_) in URLs because hyphens are treated as spaces between words, while words connected by underscores are viewed as one word.

    You can also see hyphen better in search results of url and never use a space since most search engines will think that it is one world not 2.

  5. #5
    Senior Member
    Join Date
    Oct 2021
    Posts
    244
    Since the dash isolates words (so a web search tool can record the singular words), a dash isn't a word character. The highlight is a word character, meaning it should be viewed as a feature of a word.

  6. #6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.