merging slightly different urls
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 2 months ago - 6 years 2 months ago #6852
by admin
The From URL is wrong:
From URL: /perlen/themen-tags/tag/\.html
This is the right one:
From URL: /perlen/themen-tags/tag/.*\.html
Now the hits counter should increase.
Kind regards,
Luigi
Last edit: 6 years 2 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
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 2 months ago - 6 years 2 months ago #6856
by admin
Just try to remove /perlen from the current rule:
From URL: /themen-tags/tag/.*\.html
BTW, re-reading your original post I realized this should have been the right answer since the beginning. Sorry, my fault.
Kind regards,
Luigi
Last edit: 6 years 2 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
-
-
6 years 2 months ago - 6 years 2 months ago #6857
by X-Bit
Last edit: 6 years 2 months ago by X-Bit.
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
-
-
6 years 2 months ago #6861
by X-Bit
Any ideas how to get this working would be very appreciated!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 2 months ago #6865
by admin
Sorry for delay. The second URL doesn't not contain the /tag/ part so it requires a new different rule:
From URL: /themen-tags/.*\.html
To URL: {scheme}://{siteurl}/alle-tags-anzeigen/{preg_match 1}/\/themen-tags\/(.*)\.html/i{/preg_match}
Skip: /themen-tags/tag/
Request only: true (checked)
In this case you need to add also the skip part to avoid it also matches with the first type of URL (I don't like to rely on the rule's order).
Kind rergards
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.175 seconds