how do I write a regular expression?
-
I need help with a regular expression please. I am an old dog so some of this makes little sense to me:
Advanced users can make use of regular expressions to reduce the number of redirections they need to create. A regular expression is basically a pattern that tells the plugin how to match. For example:/(d*)/(d*)/(.*)
This pattern tells the plugin that you want to match a URL that looks
I created a stand alone website
http://johndeerebirthdaypartytheme.com/
but many different queries likejohn deere birthday cake
john deere birthday cake ideas
john deere birthday cake pictures
john deere birthday cakes
john deere birthday ideas
john deere birthday invitations
john deere birthday parties
john deere birthday party
john deere birthday party decorations
john deere birthday party ideas
john deere birthday party invitations
john deere birthday party supplies
john deere birthday supplies
john deere birthday theme
john deere cake
john deere cake ideas
john deere cakes
john deere cakes ideas
john deere cakes pictures
john deere decals
john deere invitations
john deere party
john deere party favors
john deere party ideas
john deere party invitations
john deere party supplies
john deere party theme
john deere striping kit
john deere theme partystill come to my original site and end up on wrong pages.
I could redirect each query separately but that would be a real pain.
can someone please tell me the regular expression I need to use to redirect all queries containing “john deere” to the proper site.
Thank you
Michael
- The topic ‘how do I write a regular expression?’ is closed to new replies.