× Here you can get community support related to ReDJ.

Redirect with multilingual site

More
9 years 1 week ago - 9 years 1 week ago #3834 by admin
Replied by admin on topic Redirect with multilingual site
For the link:

www.baldantonigroup.com/en/os-property

We must create a different dedicated rule. The existing cannot match with this.

If you want, just tell me the destination and I will build the rule for you (I guess /en/real-estate).

Regards,
Luigi
Last edit: 9 years 1 week ago by admin.

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

  • baldantoni
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 week ago #3838 by baldantoni
Replied by baldantoni on topic Redirect with multilingual site
yes you are right!

like before i only need to change from os-property to real-estate

www.baldantonigroup.com/en/os-property
to
www.baldantonigroup.com/en/real-estate

sorry if i let you do the string but i'm confuse about how to do
i will read the documentation more accurately!

thank you

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

  • baldantoni
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 week ago #3840 by baldantoni
Replied by baldantoni on topic Redirect with multilingual site
i have also another request

my translation component is give me some trouble with the indices of images.

i have this error:
www.baldantonigroup.com/zh-CN/images/osproperty/properties/86/8614146852633edfd0813f87d683ed645ec8a25a4a66.jpg

to transform

www.baldantonigroup.com/images/osproperty/properties/86/8614146852633edfd0813f87d683ed645ec8a25a4a66.jpg


force images link to not have the multilanguage pattern:
mysite.com/ANY-LANGUAGE/IMAGES-FOLDER/rest-of-link
to
mysite.com/IMAGES-FOLDER/rest-of-link


thank you so much!
best regards
Mario

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

  • baldantoni
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 week ago #3841 by baldantoni
Replied by baldantoni on topic Redirect with multilingual site
i'm sorry for multiple post! but i can't edit old ones.

i have try to make a redirect for this link

www.baldantonigroup.com/zh-CN/progetti/galleria-vecchi-progetti/67-rendering
i have change the code that you have write before but in the redirect is missing the last part
^/(it|en|tr|uk|ur|vi|cy|yi)/progetti/galleria-vecchi-progetti/

{scheme}://{siteurl}/{pathfolder 1}/progetti/galleria-progetti-realizzati/{preg_match 1}/\/galleria-progetti-realizzati\/(.*)$/i{/preg_match}

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

More
9 years 1 week ago #3845 by admin
Replied by admin on topic Redirect with multilingual site
What does it mean pagination don't works? Can you add more detailsor a screenshot to explain me?

Thanks,
Luigi

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

More
9 years 1 week ago - 9 years 1 week ago #3846 by admin
Replied by admin on topic Redirect with multilingual site
To trasform this:

www.baldantonigroup.com/zh-CN/images/osproperty/properties/86/8614146852633edfd0813f87d683ed645ec8a25a4a66.jpg

Into this:

www.baldantonigroup.com/images/osproperty/properties/86/8614146852633edfd0813f87d683ed645ec8a25a4a66.jpg

The rule is the following:
From URL: ^/(zh-CN|hu|ar|az|ca|en)/images/osproperty/properties/
To URL: {scheme}://{siteurl}/images/osproperty/properties/{preg_match 1}/\/images\/osproperty\/properties\/(.*)$/i{/preg_match}
Request only: true (checked)

Change the string zh-CN|hu|ar|az|ca|en to include all needed language codes.

Kind regards,
Luigi
Last edit: 9 years 1 week ago by admin.
The following user(s) said Thank You: baldantoni

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

Time to create page: 0.124 seconds