× Here you can get community support related to ReDJ.

How to remove long /string/

  • kalixo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 5 months ago #5054 by kalixo
How to remove long /string/ was created 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.

More
8 years 5 months ago #5058 by admin
Replied by admin on topic How to remove long /string/
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
  • Senior Member
More
8 years 5 months ago #5065 by kalixo
Replied by kalixo on topic How to remove long /string/
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.

More
8 years 5 months ago #5072 by admin
Replied by admin on topic How to remove long /string/
U're welcome.

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

Time to create page: 0.164 seconds