slug settings in woocommerce

#890602
  • Dear Math Rank Support,

    I am migrating a website from yoast seo and i need to only show the first order category in the url.

    E.g. if a product is in the category silk->silk-satin I need to have the url with:

    http://www.sitedomain.it/silk/product-slug

    and not

    http://www.sitedomain.it/silk/silk-satin/product-slug

    Is there a way to achieve this with math rank? The way I was doing it before with yoast seo was with using premmerce permalink manager and using the option where it uses only the yoast main category for the slug.

    I have seen there is an option to remove parent category slug, but i need the reverse (only show the first parent and not the child categories).

    Otherwise i would need to do about 1500 redirects… Or go back to Yoast Seo + premmerce

    Thanks in advance

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello,

    We apologize for the issue you are facing with the slug settings in WooCommerce. To achieve the URL structure you desire, where only the first order category appears in the URL, you can use the Remove parent slugs option in Rank Math. However, it seems you are looking for a way to keep only the first parent category and exclude any child categories from the URL.

    Currently, Rank Math does not have a specific feature that allows you to display only the first parent category while excluding child categories directly. The Remove parent slugs option will remove all parent slugs, which may not meet your requirements.

    To manage your URLs effectively without creating numerous redirects, you might consider using the Strip Category Base option, which can help simplify your URLs. You can find this option by navigating to Rank Math SEO → General Settings → Links. This will help in cleaning up your URLs but may not fully achieve your desired structure.

    If you have further questions or need assistance with specific settings, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Hello,

    Thank you for contacting us and bringing your concern to our attention.

    Please head over to your WP Dashboard > Rank Math > Ttiles & Meta > Products and from there, select the Product Categories as the Primary Taxonomy:

    Once done, please make sure your parent category is selected as the primary category in the product pages. For more details, you can check this URL: https://rankmath.com/kb/how-to-choose-a-primary-category/

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Thanks for the kind reply,

    Unfortunately when i try to change the primary category of a product it gives me a redirect error…

    Thanks in advance,

    Emma Reverberi – Stock Tex

    Hello,

    Please share the redirect error you’re getting so we can check as well. If you want to share images, you can upload screenshots using this tool and add the link here.

    You can share the actual product URLs in the sensitive data section

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Looking forward to helping you.

    Here is the problem i am getting, too many redirects

    https://imgur.com/a/rSYdHLx

    I tried cleaning the cookies but the problem persists.

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    On visiting your site we get a 403 forbidden error.
    https://imgur.com/1GOgiMc

    Kindly resolve this issue and revert to us.

    We look forward to helping you.

    Thanks.

    Sorry, the correct url is http://www.dev2.tendaggi-tessuti.it/blog/

    Hello,

    The website has HTTP security enabled so we would also need the HTTP credentials to bypass that and access the actual website.

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    We’re getting the following error when trying to log in to the site:

    Please check and let us know when we can log in.

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Try with this new username and password

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 15 replies - 1 through 15 (of 16 total)

The ticket ‘slug settings in woocommerce’ is closed to new replies.