How to remove the automatic 301 redirect for WordPress?

The problem is the following:
Website on WordPress.
There is a parent page with cities. For each parent to have multiple child with the same URL. For example:
site.ru/moskva/post1
site.ru/spb/post1
Home likewise has a child. All references must be forwarded with site.ru/post1 on site.ru/russia/post1 but when you go to the page site.ru/post1 automatic 301 redirect to another page (site.ru/moskva/post1). How to fix this?
Additionally I can say that you have installed the plugin Yoast SEO.
June 14th 19 at 18:54
1 answer
June 14th 19 at 18:56
Solution
The problem was solved. Maybe someone will need a solution.
I created a new child page in order starting from a page that is a child of the home page.
If the master page site.ru and its label - russia, then the first child have to create it for this page. The redirect itself is configured and forwards with site.ru/post1 on site/russia/post1

Find more questions by tags WordPress