.htaccess not showing rest of my URL after RedirectMatch

Thanks for taking a look at my question, which is:

I’m trying to replace a string in a Woocommerce product page the structure is as follows:

www.mysite.com/es/producto/niche/something

I’m trying to change this to:

www.mysite.com/es/product/niche/something

Basically changing the string “producto” to “product”

I thought of using RedirectMatch

RedirectMatch 301 /es/producto(.*) /es/product/(.*)$

but I’m just getting redirected to www.mysite.com/es/product/(.*)$

any insight into this would be highly appreciated!

Read more here: .htaccess not showing rest of my URL after RedirectMatch

Leave a Reply

Your email address will not be published. Required fields are marked *