{"id":50282,"date":"2013-05-31T14:39:14","date_gmt":"2013-05-31T21:39:14","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/"},"modified":"2013-05-31T14:39:14","modified_gmt":"2013-05-31T21:39:14","slug":"community-events-problem-with-urls-in-multilingual-website","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/","title":{"rendered":"Community Events problem with urls in multilingual website"},"content":{"rendered":"<p>Hello Modern Tribe Team!<br \/>\nI have the Community Events plugin in a website working perfectly in Greek for a year now. Recently, I turned the website multilingual using WPML to add the English language.<br \/>\nI have managed to solve all bugs and have everything working apart from this:<br \/>\nI cannot access the Community Events pages in English.<br \/>\nI use different directories for the different languages, so I have the following url structures:<br \/>\nGreek: mydomain\/events\/community\/add &#8211;&gt; Works<br \/>\nEnglish: mydomain\/en\/events\/community\/add &#8211;&gt; 404<br \/>\nSame thing for editing an event etc.<br \/>\nI believe that there is something wrong with the routing rules, i.e. &#8220;ce-add-route&#8221;, in the the-events-calendar-community-events\/lib\/tribe-community-events.class.php file, but cannot figure it out.<br \/>\nMy guess is that the regular expressions used for the paths do not match the english urls, but I haven&#8217;t managed to sort things out.<\/p>\n<p>Do you have any advice for my situation?<br \/>\nHave you encountered a similar case before?<\/p>\n<p>I would deeply appreciate a solution, as it is rather ugly to have this section of my website in Greek only&#8230;<\/p>\n<p>BR,<br \/>\nKelly<\/p>\n","protected":false},"template":"","class_list":["post-50282","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Community Events problem with urls in multilingual website -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Community Events problem with urls in multilingual website -\" \/>\n<meta property=\"og:description\" content=\"Hello Modern Tribe Team! I have the Community Events plugin in a website working perfectly in Greek for a year now. Recently, I turned the website multilingual using WPML to add the English language. I have managed to solve all bugs and have everything working apart from this: I cannot access the Community Events pages [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/\",\"name\":\"Community Events problem with urls in multilingual website -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2013-05-31T21:39:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Community Events problem with urls in multilingual website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Community Events problem with urls in multilingual website -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/","og_locale":"en_US","og_type":"article","og_title":"Community Events problem with urls in multilingual website -","og_description":"Hello Modern Tribe Team! I have the Community Events plugin in a website working perfectly in Greek for a year now. Recently, I turned the website multilingual using WPML to add the English language. I have managed to solve all bugs and have everything working apart from this: I cannot access the Community Events pages [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/","name":"Community Events problem with urls in multilingual website -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2013-05-31T21:39:14+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/community-events-problem-with-urls-in-multilingual-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Community Events problem with urls in multilingual website"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/50282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/50282\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=50282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}