As I am started to working with google search console, I have noticed that from my OJS3 site, which have 2 installed languages, only one (primary) is indexed. It can be a problem for us in the future. According to google multilanguage sites should use separate urls for every language. But, obviously, we have 1 url for all. I have checked the indexing by their google scanner and it really shows only 1 language for the page.
Is there a possibility to bypass this restriction? maybe add separate url`s for different languages? Or there is a possibility to add crucial html tags (like title element) on different languages on 1 url?
I wonder if adding hreflang with a redirect url to each page and for each language would help. Example: <link rel="alternate" hreflang="en" href="http://ojsexample.com/index.php/journalname/user/setLocale/en_US?source=%2Findex.php%2Fjournalname%2Farticle%2Fview%2F59314%2F" />
I presume you’re mostly interested in article landing pages, as opposed to e.g. article galley pages (containing e.g. HTML or PDF fulltext) or issue table of contents pages?
How can I add language in the url on article detail page?
For example my aim is to add additional parameter only for non-primary locale (Ukrainian in our case). The problem is that there is no other way for Google to index it…
for example I want to change URL like: www.mysiteforourjournal.com/index.php/psp/article/view/32 to www.mysiteforourjournal.com/index.php/psp/article/view/uk/32 for secondary locale