Custom SEO woocommerce

  • Hello,

    I can’t customize the urls, titles and descriptions of my category, subcategory and product pages.

    I would like to automate the preview of the following information so that I don’t have to enter/edit it manually.

    1 – PRODUCT CATEGORY + SUBCATEGORY :

    URL: http://www.site.com/categorie-parent/
    Title: Name of the parent category – My site
    Description: My site – Description of the parent category

    2 – SUB-CATEGORY :

    URL: http://www.site.com/categorie-parent/categorie-enfant
    Title: Child category name – My site
    Description : My site – Description of the child category

    “Category Archive Titles”?
    %term% %sep% % %parent_title% %sep% %sitename%

    “Category Archive Descriptions?
    %sitename% %sep% %ct_desc_product_cat%

    3 – Product :

    URL: http://www.site.com/categorie-parent/categorie-enfant/produit
    Title : Product – child category – parent category – My site
    Description: My site – product – price – stock

    “Single Product Title”?
    %term% %sep% % %parent_title% %sep% %sitename%

    “Single Product Description”?
    %sitename% %sep% %ct_desc_product_cat%

    4 – Rich snippets

    Translation of “Price” on the desktop + mobile search results page?
    Position of the euro sign on the right ex: 19 €?
    Quantity in stock does not appear?

    I used the loco-translate plugin but it doesn’t work for the “price”?

    Can you help me configure it, please?

    https://ibb.co/xStHXtd
    https://ibb.co/djvkg8g
    https://ibb.co/bzq4Cj8
    https://ibb.co/f2HKx5h
    https://ibb.co/hs3Rq2F

    Thank you.

    Jamel

    • This topic was modified 2 weeks, 3 days ago by  Jamel.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    It is possible to set some global option for the meta information that will be saved for your categories by heading over to Rank Math > Titles & Meta > Categories.
    You can make use of these variables on this page:

    1). PRODUCT CATEGORY + SUBCATEGORY :
    Please make use of these variables on this page:
    Title: %term% %sep% %sitename%
    Description: %sitename% %sep% %sitename%

    2). PRODUCT
    Please make use of these variables:
    Title: %title% %sep% %categories(limit=2&separator= -)% %sitename%
    Description: %sitename% %sep% %title% %sep% %wc_price%
    Unfortunately, we do not have a variable to add the stock amount to the description. This variable can however be added by hooking into this filter:

    /**
     * Filter to add custom variables
     */
    add_filter( 'rank_math/vars/replacements', function( $vars ) {
    	return $vars;
    });

    In regards to the translation issue, we might need to investigate this further. Would you mind editing your first response and adding some temporary WP logins on the sensitive data section?

    Looking forward to helping you. Thank you.

    Hello,

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

    Thank you.

    Hello Jamel,

    Unfortunately, there is no way to change the position of the Euro. It is added by Google automatically.

    For the stock, please enter your inventory values:
    inventory

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello Michael and Todd,

    Thank you for your support.

    I couldn’t set the variables in Rank Math> Titles & Meta> Categories. :

    1). PRODUCT CATEGORY + SUBCATEGORY:
    Please use these variables on this page:
    Title:% term%% term%% sep%%% site name%
    Description:% site name%%% sep%% site name%%

    – The title tag does not have the name of the subcategory of products + t-shirt category

    ex: Subcategory A – T-shirt – Tennis Team Ambition

    – The description tag does not have the following structure:

    ex: Tennis Team Ambition – Description of Subcategory A

    2) PRODUCT
    Please use these variables:
    Title:% title
    %% sep%%% categories (limit = 2 & separator = -)%% site_name% Description:% site_name%% sep%%% title%% sep%% wc_price%

    – Same problem. The display does not include the information: Title tags + Description of the product sheet

    Thank you for your support

    Jamel

    Hello,

    We do not have an option in Rank Math to show primary category separate and child category separately. We should the category and if you have more than one categories – we will show them all.

    Code for showing the name of the single category is %category%

    For showing all categories: %categories%

    I just checked a few product and category product pages on your website and the data is being printed just like you have set them in the titles settings.

    If you are facing this issue on a particular set of URLs, please share those with us along with the info. of what you expect to see instead.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.