When I'm reading a custom type post in the single view, I see that the URL is www.my_site.com/my_custom_post_type/title_of_my_post.
How to get rid of this ugly /my_custom_post_type/ ?
|
When I'm reading a custom type post in the single view, I see that the URL is www.my_site.com/my_custom_post_type/title_of_my_post. How to get rid of this ugly /my_custom_post_type/ ? |
|||
|
|
Make sure you flush your permalinks after changing your code - simply going to Settings > Permalinks is sufficient. |
|||
|