WordPress.org

Ready to get started?Download WordPress

Forums

DukaPress
[resolved] Change URL prefix from /products/ (3 posts)

  1. adambg
    Member
    Posted 2 years ago #

    Hi,

    I would like to integrate DukaPress into my WP website, but I already have a category called /products/
    I cannot change my current products category and URL to something else due to incoming links. I would like to change DukaPress to place all products on a different URL, for example /store/...

    How can I do that?

    Thanks,
    Adam.

    http://wordpress.org/extend/plugins/dukapress/

  2. moshthepitt
    Member
    Plugin Author

    Posted 2 years ago #

    You'd have to edit the code a bit.

    Go to dp-products.php and find line 788

    Change it from:

    'rewrite' => array('slug' => 'products', 'with_front' => false),

    To:

    'rewrite' => array('slug' => 'store', 'with_front' => false),

    I hope this works?

  3. adambg
    Member
    Posted 2 years ago #

    Perfect! It works.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic