D
D
DeST52017-10-13 04:52:46
Search Engine Optimization
DeST5, 2017-10-13 04:52:46

What is the best way to build links on a website?

Hello!
There are several questions about link optimization on the site. Please help me decide.
How to do it better and is there a difference for search engines if the links to the pages are of the form: domain/pages/123/hello-world ?
Or is it better to do this: domain/pages/123-hello-world ?
Second question. The domain/pages/ page contains a list of links to pages and it all looks like this:
Title
Part of the page text
Category
Title
Part of the page text
Category
and so on.
Do I need to make sure that links to pages in this list include the category slug? For example: domain/pages/category-name/123-hello-world .
Or leave domain/pages/123-hello-world , and on the category page do domain/pages/category-name/123-hello-world ?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Exploding, 2017-10-13
@Exploding

0. Can you clearly explain what is the meaning of the pages controller?
1. Domain/pages/123-hello-world is better than domain/pages/123/hello-world because in the second case, due to slash level of "nesting" of the page increases, which is insignificant, but affects the weight of the page.
2. This page will essentially be practically useless for the PS (promotion). Links to "categories" or whatever you have, wherever they are - must be identical, otherwise the question about duplicate pages will again appear on the "Toaster".
Well, in general, the url should reflect information about the page, its location in the site structure, not to mention its length (<80 characters), occurrences of keys and their position relative to the beginning of the url, etc. as accessible as possible.
Well, this is what I wanted to achieve! As a rule, the controller is indicated in the url in order not to get confused and understand what kind of page it is and what module to use to form it! But if you have only one "first level" controller - what's the point of using it at all? This is an extra "nesting" of the page for the PS, and it's absurd in general))
For an example, to make it clear what I mean, I'll give an analogy, otherwise I see that somehow you don't enter anyway into what I'm trying to to explain to you))):
You went to some store and see the following links there:
domain/shop/info/contacts
domain/shop/info/delivery
domain/shop/categories/all
domain/shop/categories/cars
domain/shop /product/subaru-forester
Do you think there is any point in the shop controller? So in your case, vacancies in the same situation turns out.
And yet, you may have a question about whether it is worth displaying in the url the full path to the final page like:
domain/vacancies/category/sub-category/sub-sub-category/sub-...-category/vacancy
No, it's better not to do that! Output only transliteration of the last category. The whole tree is harmful.
It may also come to your mind to give a ..t to a PS and make urls of this kind so that all pages are of the first level:
domain/vacancies-category-sub-category-vacancy
or this:
domain/vacancies-category_1_ura-sub_category_1_ura_ya_skazal-vacancy_omg
It will work, but the PS, unlike your server, does not see .htaccess and cannot adequately enter what is there and where it enters and exits. Therefore, the PS will be confused with the structure of the site.
Be sure to use "/" (slash) to separate sections of the site.
Do not use "_" as a substitute for a space. Use only "-". Google_case_understands_this_as_a_single_word.
Remember that the page is not rubber and Google selects only 48em or 624px before the mighty overflow cuts off all those important words that you carried-carried to the world, but did not inform)))
Everything seems to be.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question