0
Is there a difference between using - for _ on friendly urls?
ex:
blog/como-fazer-algo
blog/como_fazer_algo
0
Is there a difference between using - for _ on friendly urls?
ex:
blog/como-fazer-algo
blog/como_fazer_algo
3
The following text has been translated and adapted from Google Search Center
The URL structure of a website should be as simple as possible. Consider organizing your content so that Urls are constructed logically and in the most intelligible way for humans (when possible, readable words instead of long ID numbers). For example, if you are looking for aviation information, the following URL can help you decide whether to click on this link:
http://en.wikipedia.org/wiki/Aviation
The following URL is much less appealing to users:
http://www.example.com/index.php?id_sezione=360&sid=3a5ebc944f41daa6f849f730f1
Consider the use of punctuation in your Urls. The URL http://www.example.com/green-dress.html
is much more useful to us than http://www.example.com/greendress.html
. We recommend that you use hyphens(-
) instead of underlining(_
) in your Urls.
Overly complex Urls, especially those that contain multiple parameters, can cause problems for crawlers, creating an unnecessarily high number of Urls that point to identical or similar content on your site. As a result, Googlebot can consume much more bandwidth than needed or it may not be able to completely index all content on your site.
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
honestly do not remember urls with underscore...
– Ricardo Pontual
It is very rare to see URLS with underscore, browsers can understand but internet explorer may have some problems in understanding the use of
_
. google recommends using hyphen (-)blog/como-fazer-algo
, is the most common practice.– Alexis Garcia
yes, I only see an underscore parameter.. you can see more here: https://developers.google.com/search/docs/advanced/guidelines/url-structure
– Ricardo Pontual
Hello Jonathan. Welcome to the site. I’m closing the question because this is a question of SEO and not about programming ([help/on-topic]). I recommend asking (or searching) on the site: Webmasters Stack Exchange. Note: despite what was said in the answers, undescore and hyphen have nothing to do with URL complexity issues, the use of one instead of the other has only the meaning of one representing space in search engines.
– Guilherme Nascimento