× Here you can get community support related to ReDJ.

how to make exact match

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 2 months ago #693 by darkhoros
how to make exact match was created by darkhoros
Hi,
I need to redirect domain.com/index.php/mivida to domain.com/index.php?search=mivida
so in the from url i typed /mivida and it is working fine, but I discovered that any url with word mivida in it is redirected aswell like the link below

www.domain.com/index.php/component/aood/real-estate-egypt/items/view/mivida-emaar-misr-prices-fully-finished-townhouse-for-sale-with-payment-plan-over-7-years.html

and I don't want that, but is it redirected as it have /mivida-emaar-misr-prices-fully-finished-townhouse-for-sale-with-payment-plan-over-7-years.html in it.

so i need it to match only if mivida only exists and not mivida along side with other words like in the above url.

how do I do that exact match.

Thank you.

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #701 by admin
Replied by admin on topic how to make exact match
It's easy, just add a dollar $ at the end (end with). Better a caret at the beginning too (start with):
^/mivida$

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds