Posted November 27, 201410 yr Administrators Hi would like to be able to rewrite url based on regexp conditions, only on rendering (I would not alterate the original message in database). Link1 Link2 Link3 Link4 Link5 For example, if a member posts a message with "https://www.banggood.com/product.php?var1=foo&var2=bar" I would like to display "https://www.banggood.com/product.php?newvar=whatiwant". As I have many websites to rewrite so I want to be able to filter with regexp, for exemple : *.banggood.com/*?* Most time I juste have to replace the whole content after the "?" (whitch is not a regexp) but if I can select some variables to keep it could be good.
November 27, 201410 yr Author Administrators liquam tincidunt sem vitae mi pretium imperdiet. Aenean vitae tellus tellus. Vestibulum sapien quam, interdum sit amet mi sit amet, vulputate malesuada tortor. Aenean eleifend est in aliquam gravida. Morbi vitae ex facilisis, mollis elit quis, ultrices sem. Pellentesque sed tristique tortor, vitae condimentum ex. Morbi id volutpat ante.
November 27, 201410 yr Author Administrators liquam tincidunt sem vitae mi pretium imperdiet. Aenean vitae tellus tellus. Vestibulum sapien quam, interdum sit amet mi sit amet, vulputate malesuada tortor. Aenean eleifend est in aliquam gravida. Morbi vitae ex facilisis, mollis elit quis, ultrices sem. Pellentesque sed tristique tortor, vitae condimentum ex. Morbi id volutpat ante.
November 27, 201410 yr Author Administrators liquam tincidunt sem vitae mi pretium imperdiet. Aenean vitae tellus tellus. Vestibulum sapien quam, interdum sit amet mi sit amet, vulputate malesuada tortor. Aenean eleifend est in aliquam gravida. Morbi vitae ex facilisis, mollis elit quis, ultrices sem. Pellentesque sed tristique tortor, vitae condimentum ex. Morbi id volutpat ante.
August 9, 20177 yr Author Administrators Hi would like to be able to rewrite url based on regexp conditions, only on rendering (I would not alterate the original message in database). Link6 Link7 Link8 Link1 Link2 Link3 Link4 Link5 Link5 For example, if a member posts a message with "https://www.banggood.com/product.php?var1=foo&var2=bar" I would like to display "https://www.banggood.com/product.php?newvar=whatiwant". As I have many websites to rewrite so I want to be able to filter with regexp, for exemple : *.banggood.com/*?* Most time I juste have to replace the whole content after the "?" (whitch is not a regexp) but if I can select some variables to keep it could be good."
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now