{"id":1151179,"date":"2016-08-12T16:11:58","date_gmt":"2016-08-12T23:11:58","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/"},"modified":"2016-08-12T16:11:58","modified_gmt":"2016-08-12T23:11:58","slug":"link-to-view-all-5-events-and-alternate-views-breaks-in-polylang","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/","title":{"rendered":"Link to view all 5 events and alternate views breaks in polylang"},"content":{"rendered":"<blockquote class=\"wp-embedded-content\" data-secret=\"jpo4457xCA\"><p><a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-events-breaks-polylang\/\">Link to &quot;view all events&quot; breaks, polylang<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Link to &quot;view all events&quot; breaks, polylang&#8221; &#8212; \" src=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-events-breaks-polylang\/embed\/#?secret=7chMq69Iuh#?secret=jpo4457xCA\" data-secret=\"jpo4457xCA\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>I&#8217;m following up on an old topic that got closed before I got a chance to reply.<\/p>\n<p>If you read the old topic, you can see that the language prefix automatically gets written in most links, but on the last reply, which I missed, the moderator was talking about a different link. I think the links in that support post are still valid, but if you go to our calendar:<\/p>\n<p>http:\/\/www.calle24sf.org\/en\/events-calendar\/<\/p>\n<p>While normal links display fine, if there are too many links to display all in month view, which is our default view, the link that says, &#8220;view all 5 events&#8221; like it does on August 14, or most weekend days, gets a 404.<\/p>\n<p>That&#8217;s because most of the links write the language prefix, and this one doesn&#8217;t. I suspect it&#8217;s not a relative link and the others are.<\/p>\n<p>We have been getting complaints from community users who can&#8217;t see their events on popular days. The other views, list, week, etc. also throw 404s because the language prefix doesn&#8217;t get written.<\/p>\n<p>I hear that you&#8217;re not supporting polylang yet, but this doesn&#8217;t seem like a huge fix.<\/p>\n<p>I suppose I could try to test for a url that&#8217;s http:\/\/www.calle24sf.org\/events-calendar\/<br \/>\nwithout the language prefix, test for the language and  make it change the location to add the language prefix in, but I&#8217;m always hesitant to apply fixes for plugins that get updated often, negating changes.<\/p>\n<p>Is this on your radar at all? I like community events, and don&#8217;t want to switch, but need to make the users happy, haven&#8217;t had a site with so many 404s on it ever.  I have seen previous posts about this issue, not from me.<\/p>\n<p>Thanks,<br \/>\nWendy<\/p>\n","protected":false},"template":"","class_list":["post-1151179","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>Link to view all 5 events and alternate views breaks in polylang -<\/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\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Link to view all 5 events and alternate views breaks in polylang -\" \/>\n<meta property=\"og:description\" content=\"Link to &quot;view all events&quot; breaks, polylang I&#8217;m following up on an old topic that got closed before I got a chance to reply. If you read the old topic, you can see that the language prefix automatically gets written in most links, but on the last reply, which I missed, the moderator was talking [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/\" \/>\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\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/\",\"name\":\"Link to view all 5 events and alternate views breaks in polylang -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-08-12T23:11:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/#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\":\"Link to view all 5 events and alternate views breaks in polylang\"}]},{\"@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":"Link to view all 5 events and alternate views breaks in polylang -","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\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/","og_locale":"en_US","og_type":"article","og_title":"Link to view all 5 events and alternate views breaks in polylang -","og_description":"Link to &quot;view all events&quot; breaks, polylang I&#8217;m following up on an old topic that got closed before I got a chance to reply. If you read the old topic, you can see that the language prefix automatically gets written in most links, but on the last reply, which I missed, the moderator was talking [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/","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\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/","name":"Link to view all 5 events and alternate views breaks in polylang -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-08-12T23:11:58+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/link-to-view-all-5-events-and-alternate-views-breaks-in-polylang\/#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":"Link to view all 5 events and alternate views breaks in polylang"}]},{"@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\/1151179","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\/1151179\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1151179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}