{"id":957635,"date":"2015-04-23T03:37:05","date_gmt":"2015-04-23T10:37:05","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/"},"modified":"2015-04-24T08:41:32","modified_gmt":"2015-04-24T15:41:32","slug":"permalinks-issue-giving-404","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/","title":{"rendered":"permalinks issue giving 404"},"content":{"rendered":"<p>Hello <\/p>\n<p>i have just today purchased the PRO version and have both the PRO and regular running in a dev website in a local network. I experience also the permalinks 404 issue. To explain in detail the issue happens when i click to see an indiviual event. It happens only when i have the permalinks structure to anything but the default. If i put it back to the default the problem is gone. The problem appears also in other themes and with other plugins disabled. I have also changed the slug for events page and event single page but nothing.The only time i can fix the problem is to revert to the default permalink structure. Here is my htaccess<\/p>\n<p># BEGIN WordPress<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/efc.be\/<br \/>\nRewriteRule ^index\\.php$ &#8211; [L]<\/p>\n<p># add a trailing slash to \/wp-admin<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?wp-admin$ $1wp-admin\/ [R=301,L]<\/p>\n<p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br \/>\nRewriteCond %{REQUEST_FILENAME} -d<br \/>\nRewriteRule ^ &#8211; [L]<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?(wp-(content|admin|includes).*) $2 [L]<br \/>\nRewriteRule ^([_0-9a-zA-Z-]+\/)?(.*\\.php)$ $2 [L]<br \/>\nRewriteRule . index.php [L]<\/p>\n<p>RewriteRule ^wp-admin\/includes\/ &#8211; [F,L]<br \/>\nRewriteRule !^wp-includes\/ &#8211; [S=3]<br \/>\nRewriteRule ^wp-includes\/[^\/]+\\.php$ &#8211; [F,L]<br \/>\nRewriteRule ^wp-includes\/js\/tinymce\/langs\/.+\\.php &#8211; [F,L]<br \/>\nRewriteRule ^wp-includes\/theme-compat\/ &#8211; [F,L]<\/p>\n<p># END WordPress<br \/>\n&lt;files wp-config.php&gt;<br \/>\norder allow,deny<br \/>\ndeny from all<br \/>\n&lt;\/files&gt;<\/p>\n<p>&lt;Files .htaccess&gt;<br \/>\norder allow,deny<br \/>\ndeny from all<br \/>\n&lt;\/Files&gt;<\/p>\n<p>Also i need to tell you that i have some custom content types that i used to have issues with their permalinks and managed to fix it by adding  flush_rewrite_rules( false ); after the register_post_type function. I also had (deactivated now) this function in my functions.php<\/p>\n<p>function my_flush_rewrite_rules() {<br \/>\n    flush_rewrite_rules();<br \/>\n}<br \/>\n\/\/add_action( &#8216;after_switch_theme&#8217;, &#8216;my_flush_rewrite_rules&#8217; );<br \/>\n and before buying your plugin i used to have the epsresso events plugin which also experienced the same issue.<br \/>\nCan you please help me?<\/p>\n","protected":false},"template":"","class_list":["post-957635","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>permalinks issue giving 404 -<\/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\/permalinks-issue-giving-404\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"permalinks issue giving 404 -\" \/>\n<meta property=\"og:description\" content=\"Hello i have just today purchased the PRO version and have both the PRO and regular running in a dev website in a local network. I experience also the permalinks 404 issue. To explain in detail the issue happens when i click to see an indiviual event. It happens only when i have the permalinks [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-04-24T15:41:32+00:00\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/\",\"name\":\"permalinks issue giving 404 -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-04-23T10:37:05+00:00\",\"dateModified\":\"2015-04-24T15:41:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/#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\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"permalinks issue giving 404\"}]},{\"@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":"permalinks issue giving 404 -","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\/permalinks-issue-giving-404\/","og_locale":"en_US","og_type":"article","og_title":"permalinks issue giving 404 -","og_description":"Hello i have just today purchased the PRO version and have both the PRO and regular running in a dev website in a local network. I experience also the permalinks 404 issue. To explain in detail the issue happens when i click to see an indiviual event. It happens only when i have the permalinks [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/","article_modified_time":"2015-04-24T15:41:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/","name":"permalinks issue giving 404 -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-04-23T10:37:05+00:00","dateModified":"2015-04-24T15:41:32+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/permalinks-issue-giving-404\/#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":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"permalinks issue giving 404"}]},{"@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\/957635","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":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/957635\/revisions"}],"predecessor-version":[{"id":957763,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/957635\/revisions\/957763"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=957635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}