I have built a multilanguage website using Yii1 PHP framework, it supports both Arabic and English. Every URL in the site has a form: www.example.com/lang/(title_of_page OR something like slug for the articles/news)
Except home page for English and Arabic, that has the same url: www.example.com
. The user can change the language, so the language of site will be changed and the page will be reloaded with another language, but it keeps the same url.
Problem: Home page with Arabic language doesn't appear on Google Arabic search but page with English does.
I have used xml-sitemap online tool to make a sitemap file from website URLs but I found that all Arabic URLs couldn't be crawled.
Does this problem appear because I have the same URL for home page for every language or could be another reason?