• Resolved 2bytecode

    (@2bytecode)


    Hi,

    I had changed the title and URL of the “Shop” page to “Services” as I am offering services instead of physical products.

    The shop page is working fine and I have set the custom base for products i.e ‘/service/’

    So my shop page URL is?Shop Page
    and my product URL like?Product Page

    But when I activated the awesome support plugin, my product URL changed to default one. Updated product URL Updated Product URL

    Please suggest me a best way to keep the settings I have made in the permalink page.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter 2bytecode

    (@2bytecode)

    Never mind. I figured it out by looking into the code. Actually there are 2 ways to accomplish it. I am mentioning it here in case if anyone else need a solution to this issue in future.

    Solution 1:

    Changed the slug in Tickets -> Settings -> Products Management -> Slug to the same value you have used for the Custom Base under product permalink. In my case I havd used ‘service’.

    Solution 2:

    Add the below code in wp-config.php file

    define( 'WPAS_PRODUCT_SLUG', 'service' );

    PS: Please go to the WordPress SETTINGS->PERMALINKS page and click the save button to force WP to update its configuration with your new value.

    Thanks

    Hi @2bytecode

    Thanks for the confirmation. If you have any further questions, please let me know.

    Regads

    Plugin Author Jawad Ahmed

    (@jawada)

    Hi @2bytecode

    I will mark this thread as resolved. If you have any questions, please don’t hesitate to reach out. Have a wonderful week.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Products slug changed to default’ is closed to new replies.