How to change project post type slugs

A default project category page link looks like the following;

oriel-wp.wp4life.com/projects/bedroom/

and a default project category page link looks like the following;

oriel-wp.wp4life.com/project-categories/category1/

As you can see there are some static words in the links. If you want to change these words;

1) Go to Plugins->Editor

2) Select “Oriel Features” plugin

3) Open “project_cpt.php” file

projects

4) Find the following codes;

Single Project;

'rewrite' => array( 'slug' => 'projects', 'with_front' => false ),

Project Categories;

'rewrite' => array( 'slug' => 'project-categories', 'with_front' => false ),

5) Change only “projects” and “project-categories with any different words (use only latin characters) like on the following examples;

Single Project;

'rewrite' => array( 'slug' => 'my-awesome-projects', 'with_front' => false ),

Event Categories;

'rewrite' => array( 'slug' => 'my-awesome-project-categories', 'with_front' => false )

6) Click Update File button

7) Finally go to Settings->Permalinks and click “Save Changes” button without changing anything.

Screenshot_3