× Here you can get community support related to ReDJ.

redirect complicated url

More
11 years 3 weeks ago #1707 by admin
Replied by admin on topic redirect complicated url
Ahhh, I got it now... :)
Just change the From URL as follow:
From URL: ^/[0-9]+/[0-9]+/[^/]+/compound_[^/]

Kind regards,
Luigi

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

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 3 weeks ago #1709 by darkhoros
Replied by darkhoros on topic redirect complicated url
Hi,
After your modification the target url is forwarded to
www.myegyptrealestate.com/index.php/component/joomd/real-estate-egypt/search-results.html?cats[0]=28&cats[1]=29&field_29=Sale&field_33[0]=compound_mivida

Notice compound_mivida in the end I need compound to be removed from the target URL, it is something with place-holder I think like the one you did to remove property_for_?? from the source URL.

Sorry for the hassle.

Thank you a lot for your time.

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

More
11 years 3 weeks ago #1710 by admin
Replied by admin on topic redirect complicated url
Change this row in the placeholders:
d={preg_subject 4,${p}}/\/([0-9]+)\/([0-9]+)\/([^\/]+)\/([^\/]+)/i{/preg_subject}

Must be:
d={preg_subject 4,${p}}/\/([0-9]+)\/([0-9]+)\/([^\/]+)\/compound_([^\/]+)/i{/preg_subject}

This should works...

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

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 years 3 weeks ago #1711 by darkhoros
Replied by darkhoros on topic redirect complicated url
Hi,
Yes it works.
Thank you a lot for great support.
Regards.

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

More
11 years 3 weeks ago #1713 by admin
Replied by admin on topic redirect complicated url
U're welcome...

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

Time to create page: 0.171 seconds