Need help with place holders
-
darkhoros
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
10 years 11 months ago #1886
by darkhoros
Hi, I am tring to redirect urls like the following
key-word-1/101-keyword.html$
another-key-word-2/101-keyword.html$
new-key-word-3/101-keyword.html$
.
.
.
whatever-key-word-534/101-keyword.html$
to the following URL
http://{siteurl}/component/joomd/real-estate-egypt/search-results.html?fromtoprice=1&tags=FIND_IN_SET("keywords-are here",t.tags)&tag=and-same-keyword-is-here-also
so I need a place holder
http://{siteurl}/component/joomd/real-estate-egypt/search-results.html?fromtoprice=1&tags=FIND_IN_SET("${a}",t.tags)&tag=${a}
so here is what I tried
p={path}
a={preg_subject 1,${p}}(.*)\/101-keyword.html/i{/preg_subject}
But not working correctly, please help me with this.
Thank you.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 11 months ago #1887
by admin
Try this:
p={path}
a={preg_subject 1,${p}}/(.*)\/101-keyword\.html$/i{/preg_subject}
Please Log in or Create an account to join the conversation.
Time to create page: 0.128 seconds