Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netzstrategen/woocommerce-permalink-structure
Allows WooCommerce products to have the same permalink path prefix as product categories and the shop base page.
https://github.com/netzstrategen/woocommerce-permalink-structure
php woocommerce woocommerce-plugin wordpress
Last synced: 6 days ago
JSON representation
Allows WooCommerce products to have the same permalink path prefix as product categories and the shop base page.
- Host: GitHub
- URL: https://github.com/netzstrategen/woocommerce-permalink-structure
- Owner: netzstrategen
- Created: 2017-03-15T14:20:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-24T15:14:31.000Z (over 2 years ago)
- Last Synced: 2023-08-04T04:57:58.143Z (over 1 year ago)
- Topics: php, woocommerce, woocommerce-plugin, wordpress
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 19
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
=== WooCommerce Permalink Structure ===
Contributors: netzstrategen
Tags: permalink, woocommerce
Requires at least: 4.5
Tested up to: 5.9.1
Stable tag: 1.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.htmlChange WooCommerce products permalink to have the same prefix as product categories and the shop base page.
== Description ==
Allows WooCommerce products to have the same permalink path prefix as product categories and the shop base page; i.e., '/shop/category/subcategory/product-name'.
Adjusts internal WordPress rewrite rule structure; not necessarily compatible with all plugins and shop configurations.== Installation ==
1. Upload the entire woocommerce-permalink-structure folder to the /wp-content/plugins/ directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.= Requirements =
* PHP 7.0 or later.
= Configuration =
To only show the Shop page content on the WooCommerce Shop page without the
regular product listing, set a constant in `wp-config.php`:
```
const WOOCOMMERCE_PERMALINK_STRUCTURE_SHOP_PAGE_CONTENT_ONLY = TRUE;
```