How to rewrite URL's in WooCommerce/WordPress - wordpress

So I'm using WooCommerce for my webshop and I have the following question:
Right now my category link is www.mywebsite.com/product-categorie/%category%/$sub_category%/ but my product link is www.mywebsite.com/product/%product%
Is it possible to change the URL of my products to www.mywebsite.com/product-categorie/%category%/$sub_category%/%product%?

Products urls are not related to any WordPress theme and Product are part of WooCommerce plugin. The support forum for the WooCommerce plugin is located here for future reference.
https://wordpress.org/support/plugin/woocommerce
You can set custom urls for WooCommerce from the WordPress > Permalinks section.

Related

WooCommerce How can i add a product to Woocommerce cart from an iframe which is inside the wordpress page?

WooCommerce How can i add a product to Woocommerce cart from an iframe which is inside the wordpress page?
I can't find the proper way to do this... I have faced problems with CORS

How to remove product-category from urls in Woocommerce?

I'm new to woocommerce and I'm struggling to remove product-category from the category url.
I've read the solution provided on WooCommerce- How to remove product & product-category from urls? but I'm not sure if it still works.
Woocommerce shop entry page
https://floridapsychics.org/shop/
A product page, it doesn't show any product-category so it's perfectly fine
https://floridapsychics.org/shop/tarot-cards/dionysus-classic-design-tarot-cards-deck-with-guidebook
If you click on Tarot Cards in the breadcrumb it will lead to
https://floridapsychics.org/product-category/tarot-cards
I want above url to be
https://floridapsychics.org/shop/tarot-cards
How to do it?
Here are my permalink settings
Permalinks settings
I tried tweaking permalink settings but none seem to work.

show product catalog in wordpress not for e-commerce

I want to build a website that view product catalog but not for e-commerce. and product category is shown in sidebar like this picture. which plugin or custom thing should I use?
You can have that with an e-commerce theme using woocommerce plugin, you will be able to add your products and specify their categories (categories can be displayed using a widget, most e-commerce themes have that). To transform the shop into a catalog (without cart functionality) add one of the following plugins :
Catalog Visibility Options that is a great one because it's made
by Woocommerce team, it adds new options to Woocommerce settings. This plugin is a paid one.
YITH WooCommerce Catalog Mode

Permalinks WordPress Woocommerce

I'm stuck with this permalink structure in WordPress, I like to have some advice from the experts in the WordPress permalink area.
I'm building a website / shop with WordPress and Woocommerce. Both the latest versions.
If a leave the permalink structure default for the website and the shop all works fine.
But the default WordPress pages will have the link structure as:
http://www.myshop.com/?page_id=25
If I change the structure to /%postname%/ the website itself works great with page links like:
http://www.myshop.com/myinformationpage
But..
The Woocommerce part however is completely broken. The products page is ok with the overview of the first shop page but every product selection will end up in a 404 error.
This is also for category's, tags en even the shop cart payment pages.
What is the way to go here?
The best way for SEO is to change the basic permalink site setting to one of the none standaard settings. But what must be done to keep the WooCommerce shop working?
I don't want to remove the /shop/ or /products/ from the WooCommerce URL.
My settings:
Common Settings: /%postname%/
Optional: Product category base: ?product_cat= and Product tag base: ?product_tag=
Product permalink base: Custom base: /?product=
After a lot of trying i came up with the setting above. This will work for all WordPress content pages and most of the WooCommerce pages but the return after payment page is still broken.
Any input is welcome here.... thanks in advance!
After trying and changing the permalinks over and over again, removing the .htaccess and save the permalinks setting again, and all other tips ....
I finally found a post on wordpress.org. On the problem that the confirmation page that wat not found. (404)
[https://wordpress.org/support/topic/order-confirmation-page-not-found]
Adding this code to function.php did the trick.
function flush_rules(){
flush_rewrite_rules();
}
add_action('init','flush_rules');
Thanks helgatheviking for your responce!

Changing WooCommerce Permalink

After installing the language files from WooCommerce, the site's permalink becomes non-english. I have found Product permalink base & Product category base & Product tag base & Product attribute base in the permalink setting page.
However, where is the settings for shopping cart & checkout page & my account?
Thanks!!
If you have installed woocommerce pages, in your admin area go to "Pages" and look for the pages you want to change permalink, all is there. I think if you change your desired page Slug, you'll get the answer. Woocommerce works with Page ID and changing that slug makes no problem and just changes the URL.

Resources