How to remove long /string/
-
kalixo
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 45
-
Thank you received: 0
-
-
8 years 5 months ago #5054
by kalixo
Dear specialists,
I've learned a lot, but I can't handle with one problem described below:
I have a lot of 404's made of Google that indexed pages that was referals from other pages. So I found out, that each of them have a lot of words, mostly more than my real categories have. So, I need a rule that removes a /string/ which has over 25 letters (signs) it should be cutted.
Example pages ares:
FROM: /agito-kupony-rabatowe-wyprzedaze-promocje-i-znizki/promocje-saturn-i-karty-podarunkowe-w-konkursie-2013
TO: /promocje-saturn-i-karty-podarunkowe-w-konkursie-2013
or
FROM: /avans-kupony-rabatowe-promocja-wyprzedaz/sprzet-agd-electrolux-za-darmo-saturn
TO: /sprzet-agd-electrolux-za-darmo-saturn
so,
FROM /if_this_string_has_more_than_25_letters(signs)_cut_it_off/proper-string
TO: /proper-string
Is it possible?
Thanks again for you time,
Kalixo
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 5 months ago #5058
by admin
No,
it should be added a custom macro to support this, but I cannot find a way to do it with existing macros.
Kind regards,
Luigi
The following user(s) said Thank You: kalixo
Please Log in or Create an account to join the conversation.
-
kalixo
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 45
-
Thank you received: 0
-
-
8 years 5 months ago #5065
by kalixo
Dear Luigi, thank you for help! I'll fix that manually.
Best regards,
Kalixo
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.164 seconds