Change Project Name

Hi,

I need to change the name of the “projects” so that it is SEO friendly in the URL. I have searched the forum but the answers go off topic.

Basically I need to change the name “Project” in the url

mywebsite/project/games

to

mywebsite/play/games

Hello there,

To change it, please add the below PHP snippet into your child theme’s functions.php.


add_filter('sydney_projects_rewrite_slug', 'sydney_child_projects_slug');
function sydney_child_projects_slug(){
	return 'play';
}

If you don’t want to use a child theme, alternatively you can use the functionality plugin like Code Snippets.

If you get a not found message when visiting the new URL, you need to flush the permalink by going to Settings > Permalinks, and then hit the save button.

Regards,
Kharis

Ok many thanks

You’re welcome.

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis

I have :wink: