Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #596257

    Hi,

    my portfolio URLs look like these: /blog/fotografie/architekturfotograf.
    ‘fotografie’ is the custom portfolio permalink for categories and portfolio items. But how can i remove the slug /blog for my portfolio items?

    P.S. i want to use a /blog for contribution

    Thanks…

    • This topic was modified 8 years, 9 months ago by Chris_85.
    #596752

    Hi Chris_85,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #596921

    Hi,

    thank you for your reply!
    When you look to https://www.philippfunke.ch/blog/fotografie/architekturprojekt1 you can see the /blog in the slug. By i dont want to have these slug! I want to have https://www.philippfunke.ch/fotografie/architekturprojekt1

    Thank you very much for your help!

    #597324

    Hi,

    As far as I can see you according to your settings under Settings–>Permalinks all your permalinks will start with /blog. You could try to copy that setting to the Portfolio option and remove blog to see if you have any luck with it.

    Best regards,
    Rikard

    #597676

    Hi,

    yes, all my permalinks should start with /blog because Blog entries should be accessible under /blog/blog-entrie. But the custom post type “portfolio” should not be accessbile under /blog. Thatswhy i look for the .php-file where the custom post type is defined. Do you know the file? In this file i want to change
    'rewrite' => array('slug'=>('fotografie'),'with_front'=>true), into
    'rewrite' => array('slug'=>('fotografie'),'with_front'=>false),

    Can you please help me?

    #598883

    i solved the problem… thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘permalinks for custom post type "portfolio"’ is closed to new replies.