0

I want to remove custom taxonomy 'post-type' from post URLs like:

http://example.com/wordpress/post-type/post1

to

http://example.com/wordpress/post1

I have used lots of plugins and rewrote URL. But didn't get success. I can not mention real site URL.

4
  • What have you tried exactly? What is the peramlink structure set in "Settings"? Do you have any rewrites set in your register_post_type function?
    – Howdy_McGee
    Oct 31, 2013 at 21:17
  • yes, i have set portfolio for register_post_type. and when we create a post of this post type then it will send url as /portfolio/postname. But i want only /postname . I have set post name in parmalink setting.
    – devjohn
    Nov 11, 2013 at 4:01
  • Could you post your register_post_type and (if you have) your register_taxonomy functions?
    – Howdy_McGee
    Nov 11, 2013 at 14:43
  • yes, i have tried. But using this we can change only category name to portfolio or anything else. But i am not able to remove this.
    – devjohn
    Nov 18, 2013 at 8:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.