Jump to content
thirty bees forum
  • 0

tb + SEO Booster Ultimate, Category Url


Question

Posted

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?

5 answers to this question

Recommended Posts

  • 0
Posted

Currently I have such entries in the ps_configuration table

PS_ROOT_CATEGORY: 1 PS_HOME_CATEGORY: 2

Do you propose to change them?

  • 0
Posted

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

  • 0
Posted

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. ;)

  • 0
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...