merging slightly different urls
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
6 years 3 months ago #6817
by X-Bit
Hello Luigi!
I have almost identical urls which should be merged to the same pattern.
- /perlen/themen-tags/tag/xxx.html
|
| and
|
- /themen-tags/tag/yyy.html?start=zzz
|
| to
|
----> /alle-tags-anzeigen/xxx or yyy.html (?start=zzz when it existed on original query)
xxx / yyy / zzz are variables.
Thanks for a quick help!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 3 months ago - 6 years 3 months ago #6823
by admin
This should work:
From URL: /themen-tags/tag/\.html
To URL: {scheme}://{siteurl}/alle-tags-anzeigen/{preg_match 1}/\/tag\/(.*)\.html/i{/preg_match}
Request only: true (checke)
Last edit: 6 years 3 months ago by admin.
Please Log in or Create an account to join the conversation.
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
6 years 2 months ago #6831
by X-Bit
I am somehow relived, that the above case seems to be more complicated than I thought. Until now I didn't find a working solution.
Could you please try to have another look at it?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 2 months ago #6842
by admin
From the results it seems the rule is not working at all. Can you check if the rule's hits countes is still zero?
Please Log in or Create an account to join the conversation.
-
X-Bit
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 19
-
Thank you received: 0
-
-
Time to create page: 0.186 seconds