Answer the question
In order to leave comments, you need to log in
What to do with the very first directory with which there is a redirect?
The fact is that from the site vostroy.com there is a redirect to vostroy.com/rostov-na-donu/ (in the future I plan to make a redirect depending on the geo), and Yandex indexed the first page and displays it in the search with the title and description of the hosting by default. The question is what should I do with it: should I close the first link for indexing (and how to do it only for it) or set my own title and description (and, accordingly, how can this be implemented)? Thanks in advance!
Answer the question
In order to leave comments, you need to log in
You need to use regional subdomains:
rostov.vostroy.com - buying building materials in Rostov-on-Don
msk.vostroy.com - buying building materials in Moscow
spb.vostroy.com - buying building materials in St. Petersburg
, etc.
The main domain vostroy.com - buying building materials in Russia (or where you are going to work there)
It should be available to visitors from those regions for which there is no regional subdomain
Correct now, it will be more difficult later.
I recommend using the ASYNC library , namely its each and series methods
There is an option to use instead of the usual loop - Array.pop().
The algorithm is the following:
var a = [1,2,3];
var magic = function () {
var i = a.pop();
if(!i) return false;
// some magic with i
console.log(i);
magic();
return true;
}
magic();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question