-
I migrated my domain name from Shopify to Woocommerce.
In Rankmath I created 3 regex with permanent rediction (301):
1. ^pages/(.*) to remove “pages” from URL (myshop.com/pages/page-name -> myshop.com/page-name).
Works fine.
2. ^products/(.*) to remove “products” from URL (myshop.com/products/product-name -> myshop.com/product-name).
Works fine.3. ^collections/(.*) to remove “collections” from URL (myshop.com/collections/product-category-name -> myshop.com/product-category-name).
Works halfway! About 5 out of 20 URLs work… Why?! That does not make sense!
Those that don’t work redirect to home page.Please help me it’s urgent!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The ticket ‘Regex works halfway’ is closed to new replies.