doublesecretagency / craft-siteswitcher

Site Switcher plugin for Craft CMS
MIT License
67 stars 7 forks source link

Language switcher not working with subfolders #7

Closed 88kbbq closed 6 years ago

88kbbq commented 8 years ago

On http://testing.88k.com.tw, I have the default language set to Chinese and the English language in as a subfolder. I set up siteurls as such

'siteUrl' => array(
         'zh' => 'http://testing.88k.com.tw/',
         'en' => 'http://testing.88k.com.tw/en/',
        )

Perhaps your plugin doesn't handle this or am I missing something?

lindseydiloreto commented 8 years ago

That looks like it should work... What URLs are your links actually generating?

Can you paste the Twig snippet you're using with the Language Link code?

lindseydiloreto commented 7 years ago

Did you work this out? If this is no longer an issue, I will close this thread.