Customized permalink structure for custom post type and default post type conten
-
Hi,
I have website with single WP-installation. I have lot of types of custom contents- video, music
- I have used default pages type for fixed page such as about us, contact etc
- I have used default post type for blog
- Videos for video and music for music
In my custom theme, I have create archive-video.php, video.php, archive-music.php, music.php templates to list music and videos in different layout format. page type are displayed using php.php and posts are handled by index.php and single.php.
URL for each content type are
- Video – mysite.com/video
- Music – mysite.com/music
- Blog and Page – mysite.com
Now, I need to change Blog url as mysite.com/blog. I am able to do so by adding prefix blog in permalink structure from (WP-Admin -> Settings -> Permalink, Custom structure)
Problem start here, URL for music and video do not work. They need to be access mysite.com/blog/video and mystie.com/blog/music (blog is added on each)
I want to work, mysite.com/video, mysite.com/music, mysite.com/blog (with single WP installation).
Any suggestion, how can I acheive this
- The topic ‘Customized permalink structure for custom post type and default post type conten’ is closed to new replies.