Answer the question
In order to leave comments, you need to log in
Proper redirect from homepage to cities?
Hello.
For a small campaign to attract people for further employment, a website was made. As such, there is no index page, when you go to the main page, the city is calculated and redirects to the city page with detailed information. If the visitor is in a city that is not in our list, then redirects to the city where the head office is.
Examples: Tyumen
https://example.com/
→ 302 → https://example.com/tyumen
Yekaterinburg
https://example.com/ → 302 → https://example.com/ekaterinburg
Novosibirsk
https://example.com/ → 302 → https://example.com/novosibirsk
Moscow (not in our list) → Tyumen
https://example.com/
→ 302 → https://example.com/tyumen
different cities have different terms of cooperation.
Since I'm not an SEO specialist, I would like to know how to correctly set up redirects here. It makes no sense to keep the main page. All pages with cities have been added to the sitemap. We expect that people will come by queries in a search engine, for example: example tyumen and https://example.com/tyumen will be shown there .
Now, when the server determines the city by IP, it redirects to its page with the 302 code. Is it necessary to implement it through the 301 code and will it affect the search engines negatively? Or is my mistake exactly in 302 and it was necessary to do 301 initially? For search engines show the page https://example.com/without favicon and description. That is, despite the fact that city pages are indicated in the sitemap, Tyumen shows https://example.com/ at the request example .
How are multi-regional sites done in terms of SEO?
Unfortunately, not strong in such subtleties. I would like to know the answer from the experts.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
In your case, a "303 See Other" redirect will work well. It is more logical with a conditional redirect.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question