Forum Discussion
Damion_19248
Nimbostratus
Mar 05, 2013redirect to new domain using a part of the uri
Sample url
http://subdomain.domain.com/1050/38745/productdata-reviews/reviews.htm
301 redirect to
http://domain.com/38745/
The subdomain, the 1050 and the last portion reviews.htm...
Damion_19248
Nimbostratus
Mar 07, 2013The rule works for this case but will not match if another portion of the url changes. I have listed an example below. Is there a way to add a wildcard match for the data in between the next two slashes and is there also a way to store that next section in another variable? Thanks in advance for any help.
original supplied url
http://subdomain.domain.com/1050/38745/productdata-reviews/reviews.htm
here is another url that would be a possibility in this case
http://subdomain.domain.com/1050/346687/otherproductdata-reviews/reviews.htm
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects