Is "+" or "-" as a separator for the url?

Most websites use -(for example, stack overflows), but most PHP frameworks generate +encoded URLs.

So what is better for SEO? Use +or -as delimiters?

+3
source share
4 answers

A plus is a simplified space encoding (used if% 20 is not used, although both values ​​are the same). "-" has no special meaning in URL encoding and will be decoded as "-", where "+" will be decoded into space.

Sites such as stack overflows must translate spaces into '-' to create a URL (as opposed to encoding a URL).

See the wikipedia article on URL Encoding for details .

Oh, and to directly answer the question, neither better nor worse for SEO.

+9
source

+and -not equal.

The plus sign is part of the URI encoding . as a reserved symbol. In particular, plus is used as an abbreviated notation for a space in the query string (search for "Query String" and reading the information below this heading).

, urlencoding RFC 1738 URL-. , URL. , URL-, "+" , URL-.

, - URL- ( , ) "-" (). .

, , , SEO... , ( ) SE.

+6

SEOmoz post URL, , , ( +).

When creating URLs with multiple words in a phrase format, hyphens are best separated by terms (e.g. / brands / dolce-and-gabbana /), then (in order), underscores (_), pluses (+), and nothing.

+3
source

character - used as part of the permalink format . Permalinks typically use them instead of spaces, but only as part of the title for posting on a forum or blog.

+1
source

Source: https://habr.com/ru/post/1702611/


All Articles