Search code examples
.htaccessmodxmodx-revolution

Remove alias from home page (MODX Revolution)


In the current time I have https://roto.com.ua/ua/index in my web site in MODX Revolution. My Friendly URL'S have also settings. Also I have 2 contexts (ukrainian,russian), anybody can help me remove /index alias from my web root page?


Solution

  • I assume you are using Babel extra, right? If not, check it out here. If you do, as I recall, in such a case you have to choose 1 context which will open the default language version of your site on your-site.com (lets say it is in Russian). The added language context will be available on your-site.com/ua/. If you get index in the URL you are doing something wrong. Check this video by Menno Pietersen on how to enable several language contexts for a modx site using Babel extra. If you are not comfortable with watching in English, check this guide in Russian which is based on that video.