Change url with get parameters to url with path. Wordpress site


Staff member
I have a wordpress site.

It has a product page that shows some modifications of a product depending on GET parameter given.

<a href="" rel="nofollow noreferrer"></a>

<a href="" rel="nofollow noreferrer"></a>

I want to make the url look like this:

<a href="" rel="nofollow noreferrer"></a>


<a href="" rel="nofollow noreferrer"></a>

I have tried managing redirects with .htaccess file but did not succeed.

Every time the "<a href="" rel="nofollow noreferrer"></a>" leads to 404 page.

Looks like the rewrite rules in the .htaccess file have no effect at all.
May be it is getting overwritten with wordpress?
Or I did not use the correct rules...

I put the .htaccess file in the root folder of the website.

Real link from the website:
<a href="ם-spider-glass-כולל-מיסתור/?build=product-572" rel="nofollow noreferrer">ם-spider-glass-כולל-מיסתור/?build=product-572</a>

I want to change it to: <a href="גם-spider-glass-כולל-מיסתור/build/product-572" rel="nofollow noreferrer">גם-spider-glass-כולל-מיסתור/build/product-572</a>