Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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: http://www.storyhousestudio.com/category/portfolio/treetop/

    New – Permalink: http://www.storyhousestudio.com/store/treetop/

    #38979

    Hey,

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

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

    with:

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

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

    #38980

    Genius! Thanks so much….:))

    #38981

    Glad that I could help you.

    #38982

    Where is this coding change made when using Cleancut?

    #38983

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

    #38984

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

    #38985

    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,

    with:

    '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.