.htaccess question for redirecting old URLs that google still has, for revamped web site

what is the htaccess statement(s) i should use to redirect the below URL that a google search shows that is from the former CMS website URLs?


where my use above of  *  is a wildcard that is to match anything that follows the stub of this URL
an actual example is:

and this needs to redirect to:  http://www.domain.com/about-us

thank you!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can try this one

RewriteRule ^template\.jsp$ /about-us? [L,R=301]

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
willsherwoodAuthor Commented:
works perfectly.  much appreciated!
willsherwoodAuthor Commented:
the client now wants to  replicate specific pages to redirect.
the previous solution worked fine, but i had specified "wildcard"  for the rest of the URL.

how can i quote the following example URL source to be redirected to the same page?
       -->   Domain.com/meet-the-team

i tried putting backslashes before all the punctuation/special chars, but it didn't work.

RewriteRule ^template\.jsp\?doc\=center\&c\=Meet\+the\+Team\&wiz\=0\&page\=Meet\+the\+Team$ /meet-the-team/? [L,R=301]

thank you!
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

what are special pages please specify condition.
New rule has to be written above my previous comments

RewriteRule ^template\.jsp$ /about-us? [L,R=301]
willsherwoodAuthor Commented:
for testing, i did replace your previous rule, but when my new try did not work, i put your original back in which works for about us.
please advise for all the special characters in the specific long URL (no wildcards)
How to decide whether it has to redirected to  about-us or meet-the-team
Please specify that
willsherwoodAuthor Commented:
it will be a series of 7 specific (complete) source URLs that redirect to specific target URLs.

i just need to get ONE to work, so i can then duplicate/edit  a few chars difference.

the pattern match includes no programming nor wildcards.  a full URL
willsherwoodAuthor Commented:
p.s.  i just want to get this one specific rule working for now.

RewriteRule ^template\.jsp\?doc\=center\&c\=Meet\+the\+Team\&wiz\=0\&page\=Meet\+the\+Team$ /meet-the-team/? [L,R=301]
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.