Directory name update causes 404 errors Post date Home › Forums › Calendar Products › Events Calendar PRO › Directory name update causes 404 errors This topic has 4 replies, 3 voices, and was last updated 10 years ago by Support Droid. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 4, 2016 at 4:08 am #1110359 Sandra ResnickParticipant Per https://theeventscalendar.com/knowledgebase/relabeling-the-venue-organizer-sections-in-event-meta/ Changed “organizer” to band Works great *but* All existing ‘organizer’ pages basically 404 now that the sub directory has changed to ‘band’ — the pages *do* still exist at /organizer/ How can I globally update pages so that I can reference them correctly? Thank you May 4, 2016 at 11:39 am #1110628 NicoMember Hey Grant, Thanks for reaching out! I’ll help you getting the URLs right 🙂 The following snippet changes the organizer slug, just past it in your functions.php file: /** * Change organizer slug */ function tribe_modify_organizer_slug ( $args ) { $args['rewrite']['slug'] = 'bands'; return $args; } add_filter( 'tribe_events_register_organizer_type_args', 'tribe_modify_organizer_slug'); Please give this a try and let me know about it, Best, Nico May 4, 2016 at 7:23 pm #1110795 Sandra ResnickParticipant Added the code, still having issues Please take a look here: All Bands Clicking on a band takes the user to (e.g.) http://www.bandsnearme.com/bands/24seven/ = 404 Replacing with organizer http://www.bandsnearme.com/organizer/24seven/ = works In admin the slugs are created (when a new band is created) as ‘bands’ but also results in a 404 when viewed Any help appreciated May 5, 2016 at 5:04 am #1110924 NicoMember Thanks for following up Grant! I forgot to mention you need to flush permalinks after adding the snippet – my bad! To do so just go to WP-Admin > Settings > Permalinks > Save Changes. Best, Nico May 20, 2016 at 9:35 am #1117078 Support DroidKeymaster This topic has not been active for quite some time and will now be closed. If you still need assistance please simply open a new topic (linking to this one if necessary) and one of the team will be only too happy to help. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) The topic ‘Directory name update causes 404 errors’ is closed to new replies. → Please verify your API key is correctly entered on the settings