Link to home
Start Free TrialLog in
Avatar of wesmanbigmig13
wesmanbigmig13Flag for Australia

asked on

htaccess URL Rewrite with variable

Hi Experts

I need an htaccess rewrite rule to redirect from the following URL format:

xyz.com/ABC123

to the following URL format:

http://abc.com/parm?Search.Active=True&Search.SerialType=1&Search.SerialNumber=ABC123&%23=FIND+ASSET

Note that the part marked in bold is a variable that will change. It can contain one to three letters and/or one to three numbers and can be a minimum of 1 character in length and a maximum of 6 characters in length.

What is the rewrite rule that I need please?

Thanks
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Avatar of wesmanbigmig13

ASKER

Thanks Ray. I'm sure those links would be useful but I am a full paying member of Experts Exchange and was actually looking for a solution to the question rather than pointers as to where to continue my education or the search for an answer.

Thanks
A link to Google.com would also be helpful I have no doubt, but that's not why I pay $100 a year to Experts Exchange :) ...I need the rewrite rule as requested in my original question posted here. Thanks
ASKER CERTIFIED SOLUTION
Avatar of wesmanbigmig13
wesmanbigmig13
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Have to look up the solution myself using Google - Experts Exchange is no longer useful like it used to be since the points per solution model was abandoned.