How to redirect Some addresses?

I want to redirect all these

for example :

http://example.com/post/?yturtuytry or http://example.com/post/comment-page-2/

redirect 301 to http://example.com/post/
  • You'll either need a plugin or to do it in your htaccess file. You can google for both of these. For instance elegantthemes.com/blog/tips-tricks/… – Trebor Apr 29 at 14:09
  • 1
    Do you have a list of URLs that must be redirected, or do they have a pattern in them? – Éric May 22 at 18:21
  • Please edit your question to include the requested details so that this can be re-opened and answered. – Stephen Ostermiller Jul 8 at 9:42