× Here you can get community support related to ReDJ.

redirect only a part of alias

  • crealiagroup
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #5808 by crealiagroup
redirect only a part of alias was created by crealiagroup
i have to do this redirect

www.domainame.ext/aliasA/category1 -> www.domainame.ext/aliasB/category1

and

www.domainame.ext/aliasA/category1/article1 -> www.domainame.ext/aliasB/category1/article1

i have 3 different category after aliasA and a lot of article inside these cayttegory.

How can i do thi redirect?

Thank you

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

  • crealiagroup
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 11 months ago #5809 by crealiagroup
Replied by crealiagroup on topic redirect only a part of alias
Questa soluzione potrebbe andare? - >

www.domainame.ext/aliasA -> {scheme}://{siteurl}/aliasB{pathltrim /aliasA}

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

More
7 years 11 months ago #5810 by admin
Replied by admin on topic redirect only a part of alias
Hi,
yes, the complete rule is:
From URL: ^/aliasA/
To URL: {scheme}://{siteurl}/aliasB/{pathltrim /aliasA/}{queryfull}
Request only: true (checked)

Kind regards,
Luigi

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

Time to create page: 0.109 seconds