-
-
Save hlashbrooke/03bd9a2eaf7c5714d271 to your computer and use it in GitHub Desktop.
add_filter( 'ssp_archive_slug', 'ssp_modify_podcast_archive_slug' ); | |
function ssp_modify_podcast_archive_slug ( $slug ) { | |
return 'new-slug'; | |
} |
Did somebody find a solution?
Well, after you implement that function, go to Settings > Permalinks and save it to make sure it works. Worked fine for me based on this - https://support.castos.com/hc/en-us/articles/360018867240-Modifying-podcast-URLs
If you have trouble for some reason, the next easiest solution is to set up a 301 redirect from /podcast/ to a new page or archive your create yourself, e.g. /podcasts/
Hi, I am unable to remove "podcast" from the URL. I am looking to have the episode page URL to be xyz.com/45 (for example). @maenjuel did you ever find a solution for this? I tried implementing both functions to no avail.
Hi, I am unable to remove "podcast" from the URL. I am looking to have the episode page URL to be xyz.com/45 (for example). @maenjuel did you ever find a solution for this? I tried implementing both functions to no avail.
Unfortunately not @chrisglitz. In the end I didn't investigate the issue further.
I'm setting up Seriously Simple Podcasting for a WordPress site and would like to completely remove 'podcast' from the podcast slug (i.e. website.com/blog/podcast-title). However the following code returned 'podcast' in the URL:
I can change the slug to anything else and that works, but an empty slug seems to be overwritten by 'podcast'. Is there a way to completely remove the "podcast" from the URL? Thanks!