bonheddwr:
Hi, thank you very much. I have followed the doumentation and I've managed to do this in Cpanel. The only issue I have is when switching languages:
For example https://www.welsh-lovespoons.co.uk/news/stdavid , but when I click on the 'CYMRAEG' link to visit the Welsh language page the URL is https://www.llwyaucaru.com/newyddion/dewisant?main_page=more_news&news_id=5&language=cy instead of just https://www.llwyaucaru.com/newyddion/dewisant
Also if the ID is changed it takes you to a different story for example - https://www.llwyaucaru.com/newyddion/dewisant?main_page=more_news&news_id=4&language=cy
Is there a way to change this so that ?main_page=more_news&news_id=* never appears in the URL (similar to what happens with EZPages)? Let me know if this isn't clear. Thank you so much for any advice.
The entry that was made to provide /news/stdavid (or perhaps just /stdavid) was a single datapoint. For each different arrangement to be used, a different datapoint must be applied. As pointed out ezpages permit such an action of storing the uri that is generated, but you may notice that for each language there is a field in which to fill in or permit auto-generation of the URI. So, if you have two languages for the "same" news_id, then there will need to be two uris provided/two database entries. Now, I don't exactly get/understand how/why one is redirected away from the current domain name and further what would be involved to ensure that the receiving domain name is able to be in sync, but whatever is used to accomplish that must also take into account what is being entered from this site to get to the other site.
As to "if the ID is changed" I am not sure what you mean. Do you mean if one types in a different news_id, or do you mean that if the article is moved from one news_id to another. If the article is moved, I would say that is not a good process, regarding trying to use a different news_id to see different news, well that's back to the above about assignment of one datarow for each unique condition/object.
So as to the language_id that should be used, that can be found in the admin->localization->languages area associated with each language that is installed.