E
E
Elena Pony2020-07-31 13:23:37
Search Engine Optimization
Elena Pony, 2020-07-31 13:23:37

Broken links language what's the matter?

Good afternoon!
Need help, site https://stokoles.com/ , https://mirmex.com.ua/
During the audit, it gives 404, for language links.
We can not understand this problem and what are the solutions to get rid of broken links?
5f23eeeb1e511511648569.jpeg
5f23ef17ee4c7879042112.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
twobomb, 2020-07-31
@ponypony

Well, because you have links in the source code

<ul class="dropdown-menu">
            <li><a href="ru-ru"><img src="catalog/language/ru-ru/ru-ru.png" alt="Russian" title="Russian" /> Russian</a></li>
            <li><a href="ua-uk"><img src="catalog/language/ua-uk/ua-uk.png" alt="Українська" title="Українська" /> Українська</a></li>
          </ul>

ru-ru and ua-uk, and if you go through them, then there is 404. You either redirect from these links to the main one, or somehow change the language in some other way
PS Apparently, there is such a code that we change the language of the site, and we look at the referer from which page and transfer it back to it. And if you go directly to this page, it doesn’t throw anywhere, but this is exactly what the search engine bot does and issues 404.
PPS In theory, there should be such links, for example, if we are on the page
https://mirmex.com.ua/kolesa-litye
That for Russian link https://mirmex.com.ua/kolesa-litye
For Ukrainian https://mirmex.com.ua/ua/kolesa-liti
And not to the root ru-ru, and then back.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question