- PHP Engine warnings about being deprecated are gone.
- Updated theme to use bootstrap, so it works better on mobile devices and Google will not give penalty.
Performance has gone down hill since WordPress 2.0, so now a caching plugin is even more important:
- Old Version - FrontPage: 14 queries. 0.131 seconds
- New Version - FrontPage: 23 queries. 0.266 seconds
- Old Version - Single Post: 12 queries. 0.086 seconds
- New Version - Single Post: 29 queries. 0.326 seconds
Hey there,
Is the plugin 'Category Slug Hierarchy' you created in order to fix the issue where duplicate slugs for WooCommerce categories aren't allowed?
I'm trying to achieve something like:
../shop/men/shoes
../shop/women/shoes
But, as you know, due to WordPress's logic this is prevented so it doesn't confuse itself. Though I think allowing it for scenario's where you don't plan to move around categories would be great to have an option. Any ideas on how to make it work?
Hi Michel
Yes that the is the category-slug-problem which the "Category Slug Hierarchy" tries to solve.
By default the WordPress Engine will only lookup the category based on the last slug in the url.
It is probably not the fastest plugin in the world, so remember to test performance if you plan to use it on high-volume-site.
Before activating the plugin, then I just jumped into the wordpress-database and fixed the slugs when there was different parents. Right now the wordpress-database allows one to have duplicate slugs with different parent. But when creating new categories, then the wordpress-engine will automatically create "unique" slugs. Guess it is not a good solution if frequently creating categories with duplicate names.
P.S. Sent you an email with an updated plugin script