• Resolved sirvius

    (@sirvius)


    Hi there!

    I need to unify my shops perma links but can’t find any good working result.
    So currently when you enter shop it looks like this : webiste.pl/sklep
    When you enter product category it looks : website.pl/kategoria-produktu
    And again if you open product page it looks: webiste.pl/sklep/product_name

    I need it to look like this >>
    website.pl/sklep/kategoria-produktu
    webiste.pl/sklep//kategoria-produktu/product_name

    Is there any solution to this?

    Thanks for help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @sirvius,

    You can modify this in WP-Admin → Settings → Permalinks.

    * In the optional section, you can set Product category base to sklep/kategoria-produktu
    * In the Product permalinks, you can select Shop base with category

    Let us know how it goes.
    Thanks.

    Thread Starter sirvius

    (@sirvius)

    @abwaita

    * In the optional section, you can set Product category base to sklep/kategoria-produktu

    This worked like a gem. Now categories page looks as I wanted them to be.

    But Product permalinks doesn’t want to collaborate.
    They look: /sklep/product_category in the browser.
    But if I change product permalinks directly to /sklep/kategoria-produktu/%product_cat%/
    they look fine but category page dies – error 404

    Any other idea what is the cause? ??

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again,

    This worked like a gem. Now categories page looks as I wanted them to be.

    Nice.

    Any other idea what is the cause? ??

    You need to set for %product_cat%/ whatever you have set here: https://d.pr/i/ulb8M6

    Kind regards,

    Thread Starter sirvius

    (@sirvius)

    Hi!

    With some further test I came to following:
    Product category base >> /sklep/kategoria-produktu
    Custom base >> /sklep-/kategoria-produktu/%product_cat%/
    This is working fine but the difference is that I added “-” in the custom base.
    If I remove it then the category page is not working. So it looks like wp doesn’t like that I use word “sklep” (means shop) in both cases.

    With setup from the ss it works but the problem is that I have to have the term “shop” in both links :
    Product category base >> /sklep/kategoria-produktu
    Custom base >> /sklep/kategoria-produktu/%product_cat%/

    so the product is the follow up of product category.

    • This reply was modified 3 years, 6 months ago by sirvius.
    Plugin Support con

    (@conschneider)

    Engineer

    Hi again!

    If I remove it then the category page is not working. So it looks like wp doesn’t like that I use word “sklep” (means shop) in both cases.

    I think that is to be expected, since WooCommerce probably already occupies this. That is why you cannot re-use in a custom permalink structure.

    Product category base >> /sklep/kategoria-produktu
    Custom base >> /sklep/kategoria-produktu/%product_cat%/
    so the product is the follow up of product category.

    I am not sure I understand. What do you need differently?

    Kind regards,

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to the issue you reported.

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Perma URLs unifying’ is closed to new replies.