-
AuthorPosts
-
September 12, 2014 at 9:58 am #103584
Hi there,
I’m currently trying to solve a url problem I found in woocommerce pages.
Let me try to exemplify:Currently my base store page (I list categories there) is:
http://my-site.com/produtos/loja/After clicking in one of the categories it then becomes:
http://my-site.com/loja/category/And after choosing a product:
http://my-site.com/produtos/loja/category/product/So the problem lies in the category page.
Here is my permalink page:
The answer seems easy, i would only need to add “produtos” in the base product category url. And indeed it works, I can enter
the category page, but then I break the product page:
http://my-site.com/produtos/loja/category/product/Why does it happen? The url in the product page stays the same, why wont it display?
Thanks so much for the help.
September 12, 2014 at 10:53 am #103624Hi Alex,
You’ve created the main Shop page inside a parent page, so it’s getting it’s parent page url slug: http://my-site.com/produtos/loja/ (Second Level Page) in Main Shop Page or in single item http://my-site.com/produtos/loja/category/product/ as those page not generated by WooCommerce.
The category page is auto generated by WooCommerce so they won’t remember the Parent page of Shop page: http://my-site.com/loja/category/ (It directly remembers the Shop page as first level page).
September 12, 2014 at 1:17 pm #103730Hey thanks for the answer.
I removed the parent page, now it stands like this:
http://my-site.com/produtos/
http://my-site.com/produtos/category/
http://my-site.com/produtos/category/product/And again, same problem… product page 404.
I think i’ve come to a known problem… Anyone that tries do put the category in the url can’t open the page?
Or I’m doing something wrong again?Thank you guys
September 12, 2014 at 1:21 pm #103736Hi Alex,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
BTW, You can post a public thread here in WooCommerce community to get catered answer: http://wordpress.org/support/plugin/woocommerce
September 12, 2014 at 1:50 pm #103770This reply has been marked as private.September 12, 2014 at 2:05 pm #103783Hi Alex,
Thanks for the login info.
You’re using a cache plugin, whenever you make changes in Permalinks make sure you’re checking the changes in front end after clearing the caches.
Also update all the outdated plugins & WordPress to latest version please.
September 12, 2014 at 2:12 pm #103788Sorry, as this site is about to get “online”, I will test the updates in another server before updating my main one.
I disabled my total cache and still could not make it work…
Do you guys know de answer? Something else seemed wrong?
Thanks
September 12, 2014 at 2:48 pm #103822Hey Alex,
Instead of having products as a shop page, please use default WooCommerce “shop” page so the link should be http://my-site/shop/ You can change this from WooCommerce > Settings > Products after creating a shop page then use your default permalink settings without any modification.
Let us know how this goes!
September 15, 2014 at 8:12 am #105065Hello Support,
I thank you for the effort, but this dos not resolve my issue.
Still can’t make a shop architecture with a common url.
I always end up with the category page being different than the other one.The case you suggested provided me this urls:
/shop
/product-category
/shop/%product_cat%/%product_name%The problem lies on the product category page again It should be “/shop/%product_cat%/”.
But I will see what can I do about it. If nothing can be done I will use it like this anyway.
Thanks again
September 15, 2014 at 8:29 am #105070Sure Alex! Let us know if we can help you with anything else! 🙂
-
AuthorPosts