Title: Onlinefotka Permalink Manager for WooCommerce
Author: onlinefotka
Published: <strong>June 12, 2026</strong>
Last modified: June 12, 2026

---

Search plugins

![](https://ps.w.org/onlinefotka-permalink-manager-for-woocommerce/assets/banner-
772x250.png?rev=3569787)

![](https://ps.w.org/onlinefotka-permalink-manager-for-woocommerce/assets/icon.svg?
rev=3569752)

# Onlinefotka Permalink Manager for WooCommerce

 By [onlinefotka](https://profiles.wordpress.org/onlinefotka/)

[Download](https://downloads.wordpress.org/plugin/onlinefotka-permalink-manager-for-woocommerce.1.0.3.zip)

 * [Details](https://wordpress.org/plugins/onlinefotka-permalink-manager-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/onlinefotka-permalink-manager-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/onlinefotka-permalink-manager-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/onlinefotka-permalink-manager-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/onlinefotka-permalink-manager-for-woocommerce/)

## Description

**Onlinefotka Permalink Manager for WooCommerce** gives you complete control over
how your WooCommerce product and category URLs are structured — without editing 
theme files or touching WordPress core.

By default, WooCommerce forces ugly base slugs into every URL: `/product/your-product-
name/` and `/product-category/electronics/`. These slugs waste characters, look 
unprofessional and hurt SEO by making URLs longer than they need to be. This plugin
solves all of that.

#### Why clean URLs matter for SEO

Search engines prefer short, descriptive URLs. Every extra word in a URL path that
adds no meaning — like `/product/` or `/product-category/` — is a word that dilutes
the value of your actual keywords. Removing these base slugs typically results in:

 * Shorter, more shareable URLs
 * Better click-through rates from search results
 * Cleaner internal linking structure
 * Fewer 404 errors when products are linked without the base slug

#### Product URL modes

Choose exactly how your product URLs should look:

 * **Default** — keep the WooCommerce default `/product/your-product/` (no changes)
 * **No base slug** — remove `/product/` prefix  `/your-product/` _(recommended)_
 * **Category + product** — prepend primary category  `/electronics/your-product/`
 * **Full category hierarchy** — include all parent categories  `/tech/electronics/
   your-product/`

#### Category URL modes

Choose exactly how your category URLs should look:

 * **Default** — keep the WooCommerce default `/product-category/electronics/` (
   no changes)
 * **No base slug** — remove `/product-category/` prefix  `/electronics/` _(recommended)_
 * **Full hierarchy** — include parent categories without base  `/tech/electronics/`
 * **Custom base** — replace `/product-category/` with your own prefix, e.g. `/shop/
   electronics/`

#### SEO and redirect features

Changing URL structure on an existing shop can kill your rankings if not handled
correctly. This plugin takes care of everything automatically:

 * **Automatic 301 redirects** — all old URLs are permanently redirected to the 
   new canonical URL. Visitors and crawlers are never left on a dead link.
 * **Canonical meta tags** — fixes the `rel=canonical` tag in the `<head>` to point
   to the new URL structure, preventing duplicate content penalties.
 * **Breadcrumb fix for Yoast SEO** — updates Yoast breadcrumb trails to match the
   new URL structure.
 * **Breadcrumb fix for RankMath** — updates RankMath breadcrumb trails to match
   the new URL structure.
 * **Primary category support** — reads the primary category set in Yoast SEO or
   RankMath and uses it for URL generation and breadcrumb paths.
 * **Product tag URL cleanup** — removes the `/product-tag/` base slug from tag 
   archive URLs.
 * **Slug conflict detection** — warns you when a product slug collides with an 
   existing page, post or custom post type.

#### Diagnostic tools

A dedicated Diagnostics tab inside the plugin settings lets you:

 * See a live **plugin status table** — shows active URL mode, cache status, detected
   plugins (Yoast, RankMath, WPML), PHP version, WP version and WooCommerce version.
 * Use the built-in **URL tester** — enter any URL path and instantly see how the
   plugin resolves it, which rewrite rule matched and whether a redirect was triggered.
 * View the full list of **active rewrite rules** added by the plugin — useful for
   debugging conflicts with other plugins.
 * **Flush rewrite rules** and **rebuild the slug cache** with a single click.

#### Performance

 * Product slugs are cached in a WordPress transient (configurable TTL, default 
   1 hour) to avoid repeated database queries on every request.
 * Rewrite rules are registered only once on `init` and flushed only when settings
   change — no performance overhead on the front end.
 * No external HTTP requests, no tracking, no telemetry.

#### Developer notes

 * Clean PHP 7.4+ code with custom PSR-4 autoloader — no Composer required
 * Namespace `WCUM\` — no global function pollution
 * All settings stored in a single WordPress option as a serialized array
 * Activation hook flushes rewrite rules; deactivation hook restores WooCommerce
   defaults; uninstall hook removes all plugin data
 * Compatible with WooCommerce High-Performance Order Storage (HPOS)
 * Compatible with WPML and Polylang (basic multilingual support via standard WP
   rewrite API)

## Screenshots

[⌊Settings — Product URL modes with live URL examples for each option⌉⌊Settings —
Product URL modes with live URL examples for each option⌉[

Settings — Product URL modes with live URL examples for each option

[⌊Settings — Category URL modes and custom base slug option⌉⌊Settings — Category
URL modes and custom base slug option⌉[

Settings — Category URL modes and custom base slug option

[⌊Settings — SEO options: canonical tags, breadcrumb integration and slug cache 
settings⌉⌊Settings — SEO options: canonical tags, breadcrumb integration and slug
cache settings⌉[

Settings — SEO options: canonical tags, breadcrumb integration and slug cache settings

[⌊Diagnostics — Full plugin status table with component health overview⌉⌊Diagnostics—
Full plugin status table with component health overview⌉[

Diagnostics — Full plugin status table with component health overview

[⌊Diagnostics — URL tester showing resolved URL and matched rewrite rule⌉⌊Diagnostics—
URL tester showing resolved URL and matched rewrite rule⌉[

Diagnostics — URL tester showing resolved URL and matched rewrite rule

[⌊Diagnostics — Active rewrite rules table showing all rules added by the plugin⌉⌊
Diagnostics — Active rewrite rules table showing all rules added by the plugin⌉[

Diagnostics — Active rewrite rules table showing all rules added by the plugin

## Installation

 1. Upload the `onlinefotka-permalink-manager-for-woocommerce` folder to `/wp-content/
    plugins/`
 2. Activate the plugin through the **Plugins** menu in WordPress
 3. Go to **Permalink Manager** in the WordPress admin sidebar
 4. On the **Product URLs** tab, choose your preferred URL mode
 5. On the **Category URLs** tab, choose your preferred category URL mode
 6. On the **SEO Options** tab, enable canonical tags and breadcrumb fixes as needed
 7. Click **Save Changes** — rewrite rules are flushed automatically
 8. Visit the **Diagnostics** tab to verify everything is working correctly

## FAQ

### Will this plugin break my existing product URLs?

No — when you change the URL mode, the plugin automatically registers 301 redirects
from old URLs to the new structure. Your existing backlinks, bookmarks and search
engine rankings are preserved. The redirect happens transparently at the WordPress
rewrite level with no additional redirect plugins needed.

### Is it compatible with Yoast SEO?

Yes. The plugin detects Yoast SEO and integrates with its breadcrumb trail and canonical
tag output. If you have a primary category set in Yoast, the plugin uses it for 
URL generation.

### Is it compatible with RankMath?

Yes. Same integration as Yoast SEO — breadcrumbs and canonicals are patched automatically
when RankMath is active.

### Does it work with WPML or Polylang?

Basic compatibility is included. The plugin uses standard WordPress rewrite rules
and `query_vars` that multilingual plugins hook into. Full per-language URL structures
are not yet supported.

### Can I use it on an existing shop with thousands of products?

Yes. The slug cache means only one database query is needed per cache TTL period,
regardless of how many products you have. The 301 redirect system handles old URLs
at the rewrite rule level — no redirect loop, no slow PHP processing per request.

### What happens when I deactivate the plugin?

Rewrite rules are restored to WordPress and WooCommerce defaults. All URL modes 
revert to WooCommerce standard. On full uninstall (Delete in the Plugins screen),
all plugin options are permanently removed from the database.

### Does it conflict with other URL or redirect plugins?

It may conflict with plugins that also modify WooCommerce rewrite rules, such as
WooCommerce Permalink Manager (by Lets Sell Online). Use the Diagnostics tab to 
inspect active rewrite rules and detect conflicts. The built-in URL tester will 
show you exactly which rule is being matched for any given URL.

### How do I report a bug or request a feature?

Use the WordPress.org support forum for this plugin. Include your WordPress version,
WooCommerce version, PHP version and a description of your URL settings — the Diagnostics
tab status table has all of this information in one place.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Onlinefotka Permalink Manager for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ onlinefotka ](https://profiles.wordpress.org/onlinefotka/)

[Translate “Onlinefotka Permalink Manager for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/onlinefotka-permalink-manager-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/onlinefotka-permalink-manager-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/onlinefotka-permalink-manager-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/onlinefotka-permalink-manager-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/onlinefotka-permalink-manager-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * New: 404 logger — records broken URLs directly in the Diagnostics tab with hit
   count and referer
 * New: Conflict report table in Diagnostics — shows which products conflict with
   existing pages, with direct edit link
 * New: Slug preview in product editor — live URL preview below the slug field based
   on current plugin settings
 * Improved: ConflictDetector now returns structured data with product ID for direct
   linking

#### 1.0.2

 * New: SKU-based URL modes — No base + SKU, SKU only, Category + SKU
 * Improved: Settings page now shows description and example URL for each option
 * Improved: SKU slug map cached in transient for performance
 * Fixed: WooCommerce product permalink filter added alongside core post_type_link

#### 1.0.1

 * Improved plugin assets: updated banner and icon graphics
 * Added 6 screenshot mockups for the WordPress.org listing
 * Minor readme improvements and expanded description

#### 1.0.0

 * Initial release
 * Product URL modes: default, no base slug, category prefix, full category hierarchy
 * Category URL modes: default, no base slug, full hierarchy, custom base
 * Automatic 301 redirects from old WooCommerce URLs to new structure
 * Canonical meta tag fix for products and categories
 * Breadcrumb fix for WooCommerce, Yoast SEO and RankMath
 * Primary category support for Yoast SEO and RankMath
 * Product tag URL cleanup (removes /product-tag/ base)
 * Slug conflict detector with admin warning
 * Diagnostic tab with live status table, URL tester and rewrite rule viewer
 * Transient slug cache for performance
 * Slovak translation included

## Meta

 *  Version **1.0.3**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [permalink](https://wordpress.org/plugins/tags/permalink/)[seo](https://wordpress.org/plugins/tags/seo/)
   [slug](https://wordpress.org/plugins/tags/slug/)[url](https://wordpress.org/plugins/tags/url/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/onlinefotka-permalink-manager-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/onlinefotka-permalink-manager-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/onlinefotka-permalink-manager-for-woocommerce/reviews/)

## Contributors

 *   [ onlinefotka ](https://profiles.wordpress.org/onlinefotka/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/onlinefotka-permalink-manager-for-woocommerce/)