tb + SEO Booster Ultimate, Category Url



  • I found a small issue but important for seo.

    Configuration:
    PS SEO Booster Ultimate, Category Url settings: {categories:/}{rewrite}

    Generated link in PrestaShop:
    //domain/category1/subcategory1/sampleproduct

    Generated link in ThirtyBees:
    //domain/main/category1/subcategory1/sampleproduct

    The main name of the category tree should not be visible in the link.

    After copying the file /classes/Link.php from PrestaShop to TB generated link is correct (without “main” name). This is a temporary solution. What should be changed in TB Link.php?



  • Currently I have such entries in the ps_configuration table

    PS_ROOT_CATEGORY: 1
    PS_HOME_CATEGORY: 2

    Do you propose to change them?



  • I attach the screen, in my opinion are OK

    0_1498817501748_tb_category_table.jpg



  • SEO Booster Ultimate has very nice feature - removing default ISO language’s from urls. Maybe @Nemo could solve this issue.



  • I compared the file Link.php from PrestaShop and TB.

    After changing lines 77-79 in public function __construct

    if (Link::$category_disable_rewrite === null) {
        Link::$category_disable_rewrite = array(Configuration::get('PS_HOME_CATEGORY'), Configuration::get('PS_ROOT_CATEGORY'));
            }
    

    generated link is without “main” name. 😉



  • I agree with @mdekker in saying it would be better not to use the module’s rewriting system, it’s also less efficient. I might add a better version designed for TB, where you can still remove the iso, but just that


 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.