Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #2700

    In Habitat I need to change the permalinks for “portfolio” to say “store”….rather than “/category/portfolio. I’m making my portfolio a store…

    Current – Permalink:

    New – Permalink:



    open up portfolio.php located in the theme_options folder and replace following code:

    'rewrite' => array('slug'=>$slugRule.'/portfolio','with_front'=>true),


    'rewrite' => array('slug'=>$slugRule,'with_front'=>true),

    Afterwards go to Settings > Permalinks and type “store” in the category base field. Then save the settings.


    Genius! Thanks so much….:))


    Glad that I could help you.


    Where is this coding change made when using Cleancut?


    You can change it in theme_options/portfolio.php :)


    Yes, I searched that file and could not find the code listed above


    Ok in the newest CleanCut version you need to activate the rewrite – open up theme_options/portfolio.php and replace:

    'capability_type' => 'post',
    'hierarchical' => false,
    'rewrite' => true,


    'capability_type' => 'post',
    'hierarchical' => false,
    'rewrite' => array('slug'=>'news','with_front'=>true),

    Instead of “news” you can use any text/slug you like but avoid using existing page, category or post names. Then flush the permalinks (Settings > Permalinks , click on “Save” and refresh the page).

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Change Permalink’ is closed to new replies.