Title: Changing slug
Last modified: August 21, 2016

---

# Changing slug

 *  Resolved [jasonreider](https://wordpress.org/support/users/jasonreider/)
 * (@jasonreider)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-slug-1/)
 * Can I change the slug for event posts from “am_events” to “events”?
 * [http://wordpress.org/plugins/am-events/](http://wordpress.org/plugins/am-events/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [netes](https://wordpress.org/support/users/netes/)
 * (@netes)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-slug-1/#post-4459195)
 * You can do this by editing am-events.php in plugins/am-events folder.
 * Just add:
    `'rewrite' => array( 'slug' => 'events' ),`
 * Near line 704 ($args = array block).
 *  [sihaya](https://wordpress.org/support/users/sihaya/)
 * (@sihaya)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-slug-1/#post-4459246)
 * I had the same question and I tried to add ‘rewrite’ => array( ‘slug’ => ‘agenda’),
   on line 705, but is still not working.
 * When I click on the agenda item it will go to the page were I want the event 
   item to be, but it only shows me a broken page. But when I manually go to the
   old permalink of the event “www.site.nl/am_events/eventname”, it works.
 * So this solution does link me to a new permalink, but it doesn’t put my event
   there. How to fix this?
 *  [netes](https://wordpress.org/support/users/netes/)
 * (@netes)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-slug-1/#post-4459247)
 * You’ve got to clear cache and reapply permalinks settings in WP.
 *  [sihaya](https://wordpress.org/support/users/sihaya/)
 * (@sihaya)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/changing-slug-1/#post-4459248)
 * Didnt think of that 😛 Thnx! I will try it
 *  Plugin Author [Atte Moisio](https://wordpress.org/support/users/moisture/)
 * (@moisture)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/changing-slug-1/#post-4459262)
 * I’ve added an option for changing the slug in the plugin settings. Will be included
   in the next version 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Changing slug’ is closed to new replies.

 * ![](https://ps.w.org/am-events/assets/icon-256x256.png?rev=1020809)
 * [AM Events](https://wordpress.org/plugins/am-events/)
 * [Support Threads](https://wordpress.org/support/plugin/am-events/)
 * [Active Topics](https://wordpress.org/support/plugin/am-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/am-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/am-events/reviews/)

## Tags

 * [slug](https://wordpress.org/support/topic-tag/slug/)

 * 5 replies
 * 4 participants
 * Last reply from: [Atte Moisio](https://wordpress.org/support/users/moisture/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/changing-slug-1/#post-4459262)
 * Status: resolved