My problem is that on the deployed version of my site the match property for my settings isn’t working so to be able to change settings to implement the translations I need to use this ?frontity_name= argument. I just wondered if it was possible to change frontity_name so it looks better in the URL.
If it’s not possible any ideas why the match property isn’t switching my settings on my deployed site? (its working fine on localhost)
export default [
{
// default, will be used if no other site matches
name: 'mysite-en',
state: { ... },
packages: [ ... ]
},
{
// different language path
name: 'mysite-cy',
match: ['/cy'],
state: { ... },
packages: [ ... ]
}
];
Alternatively it could be that your regex isn’t correct…
This is the one I use and works without a problem.