Connect category to SEO friendly URL?

I have a website containing "elements" that have an id and a title. They are divided into categories.

Category indexes are viewed by URL as

example.com/tutorials
example.com/maps

What would be the best URL structure for the elements themselves, in terms of SEO and only semantically in general?

example.com/tutorials/12/Make+a+php+site
example.com/maps/29/Inside+the+moon

or

example.com/12/Make+a+php+site
example.com/29/Inside+the+moon

Adding a category in the first is actually not necessary. I only need an identifier to find the item. However, I somehow feel that the first is better.

What do you think?

+3
source share
4 answers

Categories are very important keywords that are relevant to SEO, it would be better to have them in the URL, even if they are not needed.

+3
source

PeterP - /12/Make + a + php + site . , , . (, SO): -).

0

URL-, . -, ,

http://www.example.com/Maps/12/Map-of-the-world

.

"map" "tutorial" , , . , .

0

URL-, - .

, - , IMDB. :

  • /
  • ...

:

  • ...

URL-, URL-:

myimdb.com/action/ArnoldSchwarzenegger
myimdb.com/action/TheTerminator

myimdb.com/comedy/SomeLikeItHot
myimdb.com/comedy/MarilynMonroe

, , . , - .

URL, :

example.com/12/Make+a+php+site
example.com/29/Inside+the+moon

.

0

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


All Articles