Jump to content
thirty bees forum
  • 0

tb + SEO Booster Ultimate, Category Url


Adik

Question

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?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

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