× Here you can get community support related to ReDJ.

Redirect with multilingual site

  • baldantoni
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #3847 by baldantoni
Replied by baldantoni on topic Redirect with multilingual site
Pagination issue fix after joomla and browser cache clean

Thanks for the correct rule!

Best regards
M

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

More
9 years 7 months ago #3851 by admin
Replied by admin on topic Redirect with multilingual site
You are welcome.

Luigi

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

  • baldantoni
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #3863 by baldantoni
Replied by baldantoni 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


This rule give me a redirect forbidden error.

could you please check it?


i kindly ask you to please write me also the rule for this 2 redirect... because i'm still getting the wrong redirect

www.baldantonigroup.com/en/os-property
to
www.baldantonigroup.com/en/real-estate (whitout ending / )

and

www.baldantonigroup.com/zh-CN/progetti/galleria-vecchi-progetti/67-rendering

www.baldantonigroup.com/zh-CN/progetti/galleria-progetti-realizzati/67-rendering
i have try to change the code that you have write some post before but in the redirect is missing the last part
this don't work! 
^/(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}

thank you for your support!
regards M

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

  • baldantoni
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #3864 by baldantoni

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

More
9 years 7 months ago #3867 by admin
Replied by admin on topic Redirect with multilingual site
Hi Mario,
just checked and it seems you leave the "From URL" in the field, while this is just the name of the field.

Here are the rules you asked me, please, insert literally:
From URL: ^/en/os-property
To URL: {scheme}://{siteurl}/en/real-estate
Request only: true (checked)

And:
From URL: ^/zh-CN/progetti/galleria-vecchi-progetti/67-rendering$
To URL: {scheme}://{siteurl}/zh-CN/progetti/galleria-progetti-realizzati/67-rendering
Request only: true (checked)

Kind regards,
Luigi
The following user(s) said Thank You: baldantoni

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

More
9 years 7 months ago #3868 by admin
Replied by admin on topic Redirect with multilingual site
Sorry,
but why you need to redirect images usually used in rotating banners?

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

Time to create page: 0.193 seconds