# EDD_SLUG

This constant allows you to change the post type slug (also referred to as permalink or URL suffix) of the *download* post type. By default the slug is *downloads*, resulting in URLs that looks like this: https://yoursite.com/downloads/download-name, but by using this constant, you can define the slug as anything you want.

Place the following code snippet to change the slug of the download post type:

```
define(&#039;EDD_SLUG&#039;, &#039;my-downloads-slug&#039;);
```

The best way to apply the code snippet to your site is with a plugin that allows you to add custom code to your site. To do that, we recommend using [WPCode](https://wpcode.com/). Click [here](https://easydigitaldownloads.com/docs/snippets/) to learn how to apply the snippet using WPCode.

Note: after doing this, you should resave your permalink structure for the changes to fully take effect.