My website is not stripping the text in * condition.
Website URL is like http://www. domain.com/search/adasd I want to redirect it to https://www. domain.com/noindex-page
Using below redirect rule
RewriteRule ^search/\*$ https://www. domain.com/noindex-page? [L,R=301]
but it is redirecting to https://www. domain.com/noindex-pageadasd and giving 404 not found.
Please suggest how to strip adasd from this.
Using * is necessary as there are number of URLs with this prefix.