I am building a web app and trying to add two languages to the website. So I will make the same documents ending in -gr. Some examples of the files look like this:
English Language paths:
www.example.com/index.html
www.example.com/Blog.html
Greek Language path:
www.example.com/index-gr.html
www.example.com/Blog-gr.html
Is that possible to rename the greek files to something like the following example:
www.example.com/blog-gr.html/
should be renamed to
www.example.com/blog/gr
eg: Remove the -gr.html of all the greek documents and add /gr at the end. Also only for index file, example.com/index-gr.html should be example.com/gr Thanks