WP Catalogue
[resolved] Change for SEF URL (6 posts)

  1. Mister9
    Posted 2 years ago #

    Thank you for this awesome plugin! It is great.
    I just need to do one final thing to finish the site.

    I need to change the url so it is not http://website.com/wpccategories/mycategory/

    I would like to either remove wpccategories or change it to a more search engine friendly name so it fits the site.


  2. Maeve Lander
    Plugin Author

    Posted 2 years ago #

    Yes, you can change it in the code:

    In wpc-product.php file located in wp-content/plugins/products/ find line 126 where it reads:
    'rewrite' => array ('slug' => 'wpccategories', 'with_front' => false),

    Replace wpcategories in the above line with the name you want to use for your category slug.

    Now find this in line 24:
    'rewrite' => array ("slug" => "wpcproduct ')

    ...and replace wpcproduct with the name you want to use for the product slug.

    Names in line 126 and line 24 must be different.

    Then, just resave your site permalinks via Settings > Permalinks *this bit is important.


    See http://wordpress.org/support/topic/changing-base-slug?replies=7 and http://wordpress.org/support/topic/product-urls?replies=13 for more extended discussion on this topic. Thanks

  3. amitv
    Posted 2 years ago #

    Thanks for this, but this does not seems working, as through this update url get updated and generating i was looking for but thats throwing to 404 error page

  4. ralphbcn
    Posted 2 years ago #

    Did anyone sort this out yet? I have the same problem..

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    @ralphbcn: As per the Forum Welcome, please post your own topic. This topic has been resolved.

  6. ralphbcn
    Posted 2 years ago #

    @esmi thanks, but as also @amtiv indicated it does not work with the indicated instructions - chances are i am doing something wrong but for me it's not working.. anyway i will post a new topic

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Catalogue
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic