URL and permalink help
Hi,
When on a category page my URL is in the form: http://dev.lilliesfrillies.com/product-category/weigh-outs/ and when on a product page the URL is in the form: http://dev.lilliesfrillies.com/shop/bon-bons-strawberry/
How would i remove product-category from the first and shop from the second?
Providing this is possible is it recommended i.e. it would look better but how would it affect SEO?
Thanks,
Support Staff 2 Posted by Jeff on 21 Sep, 2011 04:11 PM
You can remove, so to speak, the shop by making the Shop page the Front Page in WordPress. Otherwise, it is a page and the slug does not go away any more than your 'About' or 'Contact' pages would and all products are a subset of the shop page.
The category slug is a little different and is hard coded in as part of the WordPress rewrite rule for the 'product-cat' custom WordPress taxonomy. Here is a small piece of that:
'rewrite' => array( 'slug' => $category_base . _x('product-category', 'slug', 'jigoshop'), 'with_front' => false ),
So, no ... you really can't.