Is it possible to have the same sub-category slug under different parent category?
Example cateogy should look like that –
When I try this, WordPress throws up the error message:
The slug “sub category” is already in use by another term.
It’s important to have duplicate sub-categories under different parent category.
How Can i Solve this issue.
]]>this is my single product link
site.com/shop/battery/single-product/
you can Replace the category slug in the URL with anything and the page is available with that link :::
site.com/shop/you-can-write-anything-here/single-product/
Do you have any solution for this?
I have a redirection set to redirect from:
https://domain.com/portfolio to https://domain.com/projects/
https://domain.com/ca/portfolio to https://domain.com/projects/ca/
https://domain.com/en/portfolio to https://domain.com/projects/en/
When I save it it changes to /portfolio, /ca/portfolio and /en/portfolio.
I also have url’s with this route: https://domain.com/en/actualidad/portfolio-category/web
The problem is that it redirects this to:
https://domain.com/en/actualidadhttps://domain.com/projects/-category/web
So it’s changing every /portfolio to https://domain.com/projects/, and I only want to change the https://domain.com/portfolio one, not the “porfolio” that can appear at any level of the page url.
But I want to keep the redirections in urls like https://domain.com/portfolio/porf-element/ to https://domain.com/projects/porf-element/
There’s some way to solve this issue?
Thank you
]]>I have created a custom post corporates having industries as categories. My single page URL looks like follows:
:site-url/industries/%industry-category%/single-post-slug
Using this plugin I have made the name of the category dynamic. So instead of %industry-category% the category of the post gets printed.
Now the problem is if a post does not contain any category(industry). The %industry-category% gets printed in the URL. Which looks really bad and also not good for my SEO.
In this scenario, if a category is not available %industry-category% should not get printed.
Thanks
]]>It’s possible to change the product slug from:
mysite.com/products/product-page-slug
to:
mysite.com/category/sub-category/products/product-page-slug
Thanks again for your great work.
Regards,
David.
]]>Destinations:
France
–Bretagne
–Normandy
Germany
–Bavaria
Expected behaviour for destination “Bretagne”: having a URL like this for the taxonomy page:
/destinations/france/bretagne/
Actual behaviour:
/destinations/bretagne/
Which looks like a typical “tag” behaviour, not a hierarchical “category” behaviour. However, destination is and should be hierarchical (not only, but also because SEO). So what can I do to change this? Or is it a bug?
Thanks for enlightenment!
ella
Via [post_terms tax=”category”] i can display the assigned categories as links. Cool!
Is it possible, to show the cat terms as slugs too? (I need the slugs as CSS classes.)
Thanks in advance!
Lothar
I have created an icon for each slug set in the Category menu, and now I have to get WP to automatically change the color of the icons for newly created slugs. As a possible workaround, I created style.php and added the following line to the template PHP file:
<link rel=”stylesheet” type=”text/css” href=”./css/style.php”>
And style.php contains the following:
<? echo “.”.$slug.”{background: #rr0000;}” ?>
Then, when I check the same css in the browser, I see that nothing have been returned for $slug as below:
.{background: #rr0000;}
This is despite the fact that $slug is defined as follows in the template php file:
$categories = get_the_category();
foreach($categories as $category) {
$slug = $category->slug;}
I’m completely stuck as to why $slug cannot call a slug ID. Could someone please help me find what could be used to display slug IDs in css?
Thank you in advance
]]>Product should be:
\shop\product-slug
Category should be:
\shop\category-slug
I’ve wasted hours on this:
? Different values for ‘Custom base’ and ‘Product category base’ – they can not be the same value!
? I can’t even get custom .htaccess to work for me (!?)
I’ll need this working somehow so my existing links will be the same when I move from my old VirtueMart store to this WooCommerce store. Something is weird with permalinks for WooCommerce, see these are all unresolved:
https://www.ads-software.com/support/topic/404-when-enabling-base-page-product-permalinks
https://www.ads-software.com/support/topic/404-when-clicking-products-in-categories-permalinks
https://ideas.woothemes.com/forums/133476-woocommerce/suggestions/2560413-we-need-support-for-pretty-permalinks
THANK YOU!
https://www.ads-software.com/plugins/woocommerce/
]]>