In my wordpress site I need do do below redirect. to the

Here lon-mayf can be anything.

I’ve tried below code in .htaccess file after # END WordPress but it is not work.

RewriteEngine On
RewriteRule ^magazine-landing/*$$1 [R=301,L]

How could I do this redirect?


Read more here: .htaccess redirect URL last part to same URL query strings value?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: