Selon la meilleure pratique, lequel des symboles suivants devriez-vous utiliser pour séparer les mots dans un slug ?
Choose an answer
Tap an option to check your answer.
Correct answer: Tirets.
Why this is the answer
Using hyphens (-) to separate words in a slug is a best practice because search engines like Google interpret hyphens as word separators, which helps them understand the content of the URL. This improves SEO by making URLs more readable and relevant to search queries. For example, my-awesome-article is clear and optimized. Dots (.) are typically used for file extensions or subdomains, which can confuse search engines. Plus signs (+) were historically used but are less common now and can be misinterpreted. Commas (,) are not standard URL separators and can cause parsing errors or be encoded, making the URL less readable and functional.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed