Viewing 6 replies - 1 through 6 (of 6 total)
  • adam2661

    (@adam2661)

    It is is it possible to change?
    Thanks

    Plugin Author Maeve Lander

    (@enigmaweb)

    Sorry guys, it’s not really very easy to change. Check out more extended discussion on this one in an existing thread: http://ww.wp.xz.cn/support/topic/product-urls?replies=13

    adam2661

    (@adam2661)

    I solved the problem. In wpc-product.php file located in wp-content/plugins/products / change only one line to be exact line 126 ‘rewrite’ => array (‘slug’ => ‘wpccategories’, ‘with_front’ => false), in place of the ‘slug’ => ‘wpccategories’ insert ‘slug’ => ‘our name’. Then, just reset the permalinks links in the settings and everything whizzes up nicely.

    adam2661

    (@adam2661)

    We also need to change the line 24 of the ‘rewrite’ => array (“slug” => “wpcproduct ‘) to’ rewrite ‘=> array (” slug “=>” name “). Names in line 126 and line 24 must be different.

    Thread Starter Number_6

    (@number_6)

    Cheers for that, Adam! Seems we can call it a day.

    Plugin Author Maeve Lander

    (@enigmaweb)

    Thanks for sharing your fix! Nice one.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Changing base slug’ is closed to new replies.