Answer the question
In order to leave comments, you need to log in
How to sort an array by the original array?
there is an initial array
['test', 'promo', 'demo']
, it is much larger, but this is so for an example.
in general, these keywords will send a lot of asynchronous requests to api one, and at the output I write the result to another array.
and the result is an array in a different order.
let 's say
['demo', 'test', 'promo',]
how can I make this array sorted as the original?
Answer the question
In order to leave comments, you need to log in
And you store the result not in an array, but in a dictionary, where the key will be the original word or the index of the word in the initial array.
Yes, Google "ranks links" (more precisely, it ranks with the help of links). There is also an opinion that links actually work in Yandex, here is an experiment bablorub.blogspot.ru/2015/03/blog-post_11.html
I recommend white hat SEO. Or rather, switch to SEM (Search Engine Marketing), as in Europe / USA.
Think about people, make quality content, improve usability. And the reference - due to informational reasons, guest posts, press releases, helping people on forums, etc.
Then the links will not just be "natural" and working, but will also provide pertinent traffic.
And about sape.ru, especially without experience - better forget it. Spend money, spam the anchor list.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question